bitbake.conf: Add thumb-interwork to DISTRO_FEATURES if machine supports it.
authorKhem Raj <raj.khem@gmail.com>
Sat, 24 Jul 2010 09:19:12 +0000 (02:19 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 25 Jul 2010 14:49:03 +0000 (07:49 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
conf/bitbake.conf

index 748abba..8cb8187 100644 (file)
@@ -734,6 +734,8 @@ OES_BITBAKE_CONF = "1"
 
 MACHINE_FEATURES ?= "kernel26"
 DISTRO_FEATURES ?= ""
+# Add thumb-interwork to feature list if selected machine supports it.
+DISTRO_FEATURES += ' ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}'
 
 # This is used to limit what packages goes into images built, so set big by default
 ROOT_FLASH_SIZE ?= "256"