[oe-commits] Khem Raj : bitbake.conf: Add thumb-interwork to DISTRO_FEATURES if machine supports it.

git version control git at git.openembedded.org
Sun Jul 25 14:50:12 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e895bc3e7f5a1b73b0fd68f82a5a484b61bc4147
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e895bc3e7f5a1b73b0fd68f82a5a484b61bc4147

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Jul 24 02:19:12 2010 -0700

bitbake.conf: Add thumb-interwork to DISTRO_FEATURES if machine supports it.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 conf/bitbake.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 748abba..8cb8187 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -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"





More information about the Openembedded-commits mailing list