summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-12-16 07:59:01 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-22 16:08:43 +0000
commited60460459e746ca91b8884526cdb1fc6a3fd640 (patch)
tree5c8b8d88fc57985321eef9bda8f79dc14f692721 /meta
parentd942f94de8966c839209e8c9a632351d108852c4 (diff)
downloadopenembedded-core-ed60460459e746ca91b8884526cdb1fc6a3fd640.tar.gz
openembedded-core-ed60460459e746ca91b8884526cdb1fc6a3fd640.tar.bz2
openembedded-core-ed60460459e746ca91b8884526cdb1fc6a3fd640.zip
tune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/tune-cortexm3.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc
index bf7f89e7e9..05362a9187 100644
--- a/meta/conf/machine/include/tune-cortexm3.inc
+++ b/meta/conf/machine/include/tune-cortexm3.inc
@@ -7,6 +7,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mtune=corte
TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}"
AVAILTUNES += "cortexm3"
ARMPKGARCH_tune-cortexm3 = "armv7m"