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

login
register
mail settings
Submitter Antonio Ospite
Date Dec. 9, 2011, 12:29 a.m.
Message ID <1323390570-3088-3-git-send-email-ospite@studenti.unina.it>
Download mbox | patch
Permalink /patch/16547/
State Accepted
Headers show

Comments

Antonio Ospite - Dec. 9, 2011, 12:29 a.m.
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@studenti.unina.it>
---
 conf/machine/include/motorola-ezx-base.inc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Patch

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
 #