[oe] How to extend SRC_URI_append?

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Sep 3 16:59:17 UTC 2010


On 18:47 Fri 03 Sep     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 07:44 Fri 03 Sep     , Chris Larson wrote:
> > The append syntax you're referring to uses OVERRIDES.  FOO_somevalue
> > replaces FOO if somevalue is in OVERRIDES.  FOO_append_somevalue is added to
> > FOO if somevalue is in OVERRIDES.  I don't think SOC_FAMILY is in overrides
> > at this time.
> how can I extend it?
is this ok?

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 677c76a..ecdf245 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -677,9 +677,9 @@ BUILDCFG_NEEDEDVARS ?= "TARGET_ARCH TARGET_OS"
 #
 # This works for  functions as well, they are really just environment variables.
 # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration.
-OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
+OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:${SOC_FAMILY}:${TARGET_ARCH}_${SOC_FAMILY}:build-${BUILD_OS}:fail-fast:pn-${PN}"
 # Alternative OVERRIDES definition without "fail fast", usually only for native building and Scratchbox toolchains.
-#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}"
+#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:${SOC_FAMILY}:${TARGET_ARCH}_${SOC_FAMILY}:build-${BUILD_OS}:pn-${PN}"
 
 ##################################################################
 # Include the rest of the config files.

Best Regards,
J.




More information about the Openembedded-devel mailing list