diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2006-03-23 15:57:36 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-23 15:57:36 +0000 |
commit | 982e9ea14dbad97e9bc6c4d34b7d3d660ddc87b1 (patch) | |
tree | 4c8b307be42b584845d67f41f1ab944bb5ae4122 | |
parent | fcac3e1a171a946b22f7e47e05502abdb1a2fa2b (diff) |
angstrom.conf: use python instead of overrides to select arm eabi on arm builds
-rw-r--r-- | conf/distro/angstrom.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index d8b97001c9..e9e05201e8 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -21,10 +21,10 @@ include conf/distro/include/multimachine.conf ENABLE_BINARY_LOCALE_GENERATION ?= "" -#Use the ARM EABI when building for an ARM cpu. -TARGET_VENDOR_arm = "-none" -TARGET_OS_arm = "linux-gnueabi" -TARGET_OS = "linux" +#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 = "${@['','-none'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" +TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" #mess with compiler flags to use -Os instead of -O2 #Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info |