[oe-commits] Chris Larson : bitbake.conf: add a couple explicit vardeps

git at git.openembedded.org git at git.openembedded.org
Thu Nov 17 14:07:43 UTC 2011


Module: openembedded-core.git
Branch: master-next
Commit: 5b9877aa55e28ba06410592350e7e5106ebdf6cb
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5b9877aa55e28ba06410592350e7e5106ebdf6cb

Author: Chris Larson <clarson at kergoth.com>
Date:   Wed Nov 16 14:17:21 2011 -0700

bitbake.conf: add a couple explicit vardeps

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 442fd46..01f064c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -502,6 +502,7 @@ DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types"
 FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
 DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe"
 SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', 1) == '1'], d, 1)}"
+SELECTED_OPTIMIZATION[vardeps] += "FULL_OPTIMIZATION DEBUG_OPTIMIZATION"
 BUILD_OPTIMIZATION = "-O2 -pipe"
 
 ##################################################################
@@ -713,7 +714,7 @@ COMBINED_FEATURES = "\
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} \
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} \
     ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)}"
-
+COMBINED_FEATURES[vardeps] += "DISTRO_FEATURES MACHINE_FEATURES"
 
 # Make sure MACHINE isn't exported
 # (breaks binutils at least)





More information about the Openembedded-commits mailing list