mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user