diff options
author | Tom Rini <tom_rini@mentor.com> | 2010-07-21 13:02:45 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-07-21 13:02:45 -0700 |
commit | 9d22b7f5eec54b97b7f51dd9ec906645d83060e1 (patch) | |
tree | da091b694a2837d4ff07308531c099c5f6eafcdb /conf/distro | |
parent | 27e11b65415b91e835233ddf1769371f3cf4139e (diff) |
arm-thumb.inc: Don't modify TARGET_CC_*ARCH on non-arm/armeb
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/include/arm-thumb.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/conf/distro/include/arm-thumb.inc b/conf/distro/include/arm-thumb.inc index cd88bb4786..84598d6aa9 100644 --- a/conf/distro/include/arm-thumb.inc +++ b/conf/distro/include/arm-thumb.inc @@ -27,6 +27,5 @@ ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data. ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" # -TARGET_CC_ARCH += "${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}" -TARGET_CC_KERNEL_ARCH += "-mno-thumb-interwork -mno-thumb" - +TARGET_CC_ARCH += "${@['', '${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}'][bb.data.getVar('TARGET_ARCH', d, 1) in [ 'arm', 'armeb' ]]}" +TARGET_CC_KERNEL_ARCH += "${@['', '-mno-thumb-interwork -mno-thumb'][bb.data.getVar('TARGET_ARCH', d, 1) in [ 'arm', 'armeb' ]]}" |