[oe] [meta-handheld][PATCH 2/2] motorola-ezx-base.inc: enable "iwmmxt" as extra arch only when needed

Antonio Ospite ospite at studenti.unina.it
Fri Dec 9 00:29:30 UTC 2011


Use PACKAGE_EXTRA_ARCHS_tune-xscale so we don't need to remove the
generic PACKAGE_EXTRA_ARCHS line in case we enable tune-iwmmxt.inc

Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
---
 conf/machine/include/motorola-ezx-base.inc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/conf/machine/include/motorola-ezx-base.inc b/conf/machine/include/motorola-ezx-base.inc
index 3e22eec..5b0dbee 100644
--- a/conf/machine/include/motorola-ezx-base.inc
+++ b/conf/machine/include/motorola-ezx-base.inc
@@ -7,6 +7,7 @@ MACHINE_CLASS = "motorola-ezx"
 
 # Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
 require conf/machine/include/tune-xscale.inc
+PACKAGE_EXTRA_ARCHS_tune-xscale += "iwmmxt" 
 
 # Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
 #require conf/machine/include/tune-iwmmxt.inc
@@ -27,9 +28,6 @@ MACHINE_DISPLAY_PPI = "180"
 MACHINE_FEATURES = "alsa apm bluetooth kernel26 keyboard phone screen touchscreen usbgadget usbhost vfat"
 MACHINE_FEATURES += " iwmmxt"
 
-# Comment this out if you change to tune-iwmmxt.inc above
-PACKAGE_EXTRA_ARCHS += "iwmmxt"
-
 #
 # Software/packages selection
 #
-- 
1.7.7.3





More information about the Openembedded-devel mailing list