Patchwork tune-cortexa.inc: Use -mtune not -mcpu

login
register
mail settings
Submitter Andy Voltz
Date June 10, 2013, 9:57 p.m.
Message ID <1370901467-2201-1-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/51467/
State New
Headers show

Comments

Andy Voltz - June 10, 2013, 9:57 p.m.
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@timesys.com>
---
 meta/conf/machine/include/tune-cortexa.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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"