[oe-commits] Chris Larson : bitbake.conf: add a couple explicit vardeps
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 17 10:48:29 UTC 2011
Module: openembedded-core.git
Branch: master-next
Commit: 9f90692f91330f1d19072bd14b24769122238bbe
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9f90692f91330f1d19072bd14b24769122238bbe
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