Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] binconfig: Handle the case where ${B} != ${S}
@ 2013-03-18  1:31 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-03-18  1:31 UTC (permalink / raw)
  To: openembedded-core

This change allows ${B} != ${S} builds to work which use binconfig.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 7b683a8..4c42602 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -50,7 +50,7 @@ binconfig_package_preprocess () {
 SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
 
 binconfig_sysroot_preprocess () {
-	for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do
+	for config in `find ${S} -name '${BINCONFIG_GLOB}'` `find ${B} -name '${BINCONFIG_GLOB}'`; do
 		configname=`basename $config`
 		install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
 		cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-18  1:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18  1:31 [PATCH] binconfig: Handle the case where ${B} != ${S} Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox