summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
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:50 +0000
commitfd10723846e8cceaba556bb2c7d9b89a68e7597b (patch)
tree5ac19007d5daf7f48ebce99bd004811c98d8212d /meta/conf/machine
parentb6fe440df69a0208e11ae9eed54cce3b3329b694 (diff)
downloadpoky-fd10723846e8cceaba556bb2c7d9b89a68e7597b.tar.gz
tune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES
(From OE-Core rev: ed60460459e746ca91b8884526cdb1fc6a3fd640) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-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
7 7
8TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" 8TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
9TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}" 9TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}"
10MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}"
10 11
11AVAILTUNES += "cortexm3" 12AVAILTUNES += "cortexm3"
12ARMPKGARCH_tune-cortexm3 = "armv7m" 13ARMPKGARCH_tune-cortexm3 = "armv7m"