From: Richard Purdie Date: Mon, 18 Mar 2013 01:31:39 +0000 (+0000) Subject: binconfig: Handle the case where ${B} != ${S} X-Git-Tag: 2015-4~7186 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dc175a20d3a269c08691d92ecf13afff8c1340dd;p=openembedded-core.git binconfig: Handle the case where ${B} != ${S} This change allows ${B} != ${S} builds to work which use binconfig. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 7b683a80fd..4c42602aff 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