From bd1b2b21bc9db64099e7f435b670f56ec1fda37c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 26 Aug 2006 22:59:59 +0000 Subject: [PATCH] poky: Add POKYMODE=eabi2 - Uses glibc 2.4 and gcc 4.1.1 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@649 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/distro/poky-eabi2.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/conf/distro/poky-eabi2.conf diff --git a/meta/conf/distro/poky-eabi2.conf b/meta/conf/distro/poky-eabi2.conf new file mode 100644 index 0000000000..2833f3090e --- /dev/null +++ b/meta/conf/distro/poky-eabi2.conf @@ -0,0 +1,20 @@ +# +# Poky configuration to use EABI +# + +PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" + +PREFERRED_VERSION_gcc ?= "4.1.1" +PREFERRED_VERSION_gcc-cross ?= "4.1.1" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1" +PREFERRED_VERSION_binutils ?= "2.16.91.0.7" +PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" +PREFERRED_VERSION_glibc ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.4" + +#Use the ARM EABI when building for an ARM cpu. We can't use overrides +#here because this breaks all places where ":=" is used. +TARGET_VENDOR = "${@['','-poky'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" +TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" \ No newline at end of file