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:18:24 +0000 |
commit | e924d5bbe796db8c35d375c3ab457f29ba795375 (patch) | |
tree | df192eb2bf57384bbafc5ea7dd539e5e8d9f12b8 /meta/classes | |
parent | 64cd9855c8dada8bb4eac8d00255473e38678163 (diff) | |
download | poky-e924d5bbe796db8c35d375c3ab457f29ba795375.tar.gz |
binconfig: Handle the case where ${B} != ${S}
This change allows ${B} != ${S} builds to work which use binconfig.
(From OE-Core rev: dc175a20d3a269c08691d92ecf13afff8c1340dd)
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 () { | |||
50 | SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" | 50 | SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" |
51 | 51 | ||
52 | binconfig_sysroot_preprocess () { | 52 | binconfig_sysroot_preprocess () { |
53 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do | 53 | for config in `find ${S} -name '${BINCONFIG_GLOB}'` `find ${B} -name '${BINCONFIG_GLOB}'`; do |
54 | configname=`basename $config` | 54 | configname=`basename $config` |
55 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} | 55 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} |
56 | cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname | 56 | cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname |