[OE-core] [PATCH] tune-cortexa.inc: Use -mtune not -mcpu
Andy Voltz
andy.voltz at timesys.com
Mon Jun 10 21:57:47 UTC 2013
Using -mcpu was a mistake introduced in the creation commit for this file.
This restores the previous default tuning for cortex a7,a8,a9,a15
Signed-off-by: Andy Voltz <andy.voltz at timesys.com>
---
meta/conf/machine/include/tune-cortexa.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf/machine/include/tune-cortexa.inc b/meta/conf/machine/include/tune-cortexa.inc
index 987e4d9..b6427f7 100644
--- a/meta/conf/machine/include/tune-cortexa.inc
+++ b/meta/conf/machine/include/tune-cortexa.inc
@@ -2,7 +2,7 @@ DEFAULTTUNE ?= "armv7a-neon"
require conf/machine/include/arm/arch-armv7a.inc
-TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortex${CORTEX_ID}", " -mcpu=cortex-${CORTEX_ID}", "", d)}"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortex${CORTEX_ID}", " -mtune=cortex-${CORTEX_ID}", "", d)}"
# Little Endian base configs
AVAILTUNES += "cortex${CORTEX_ID} cortex${CORTEX_ID}t cortex${CORTEX_ID}-neon cortex${CORTEX_ID}t-neon"
--
1.7.9.5
More information about the Openembedded-core
mailing list