tune-ep9312, tune-iwmmxt: use -mcpu, -march and -mtune
authorKoen Kooi <koen@openembedded.org>
Wed, 5 Jul 2006 13:43:46 +0000 (13:43 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 5 Jul 2006 13:43:46 +0000 (13:43 +0000)
<XorA>: koen: aaargh, what idiots made the options do totally different things between x86 and arm?

conf/machine/include/tune-ep9312.conf
conf/machine/include/tune-iwmmxt.conf

index f7a6fb8..0982cf2 100644 (file)
@@ -1,4 +1,4 @@
-TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312"
+TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312"
 # add "-mfp=maverick" for newer gcc versions > 4.0
 
 #set arch to ep9312 for all generated packages
index 535c914..990aee5 100644 (file)
@@ -1,6 +1,6 @@
 # Configurations for the Intel PXA27x Appications Processor Family. 
 # Please use tune-xscale for PXA255/PXA26x based processors.
 IPKG_EXTRA_ARCHS += "iwmmxt"
-TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt "
+TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt"
 PACKAGE_ARCH = "iwmmxt"