diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 01:31:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-18 13:17:39 +0000 |
commit | dc175a20d3a269c08691d92ecf13afff8c1340dd (patch) | |
tree | 88ca509fd9880f37706cb61764d42d67206fdbc3 /meta/classes | |
parent | 77d09b5ffd7867809004d7e3a6285e19087713b7 (diff) | |
download | openembedded-core-dc175a20d3a269c08691d92ecf13afff8c1340dd.tar.gz openembedded-core-dc175a20d3a269c08691d92ecf13afff8c1340dd.tar.bz2 openembedded-core-dc175a20d3a269c08691d92ecf13afff8c1340dd.zip |
binconfig: Handle the case where ${B} != ${S}
This change allows ${B} != ${S} builds to work which use binconfig.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/binconfig.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |