diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-12-16 07:59:01 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:08:50 +0000 |
commit | fd10723846e8cceaba556bb2c7d9b89a68e7597b (patch) | |
tree | 5ac19007d5daf7f48ebce99bd004811c98d8212d /meta/conf | |
parent | b6fe440df69a0208e11ae9eed54cce3b3329b694 (diff) | |
download | poky-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')
-rw-r--r-- | meta/conf/machine/include/tune-cortexm3.inc | 1 |
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 | ||
8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" | 8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" |
9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}" | 9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}" |
10 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}" | ||
10 | 11 | ||
11 | AVAILTUNES += "cortexm3" | 12 | AVAILTUNES += "cortexm3" |
12 | ARMPKGARCH_tune-cortexm3 = "armv7m" | 13 | ARMPKGARCH_tune-cortexm3 = "armv7m" |