* It is more consistent.
* Fixes subtle binconfig breakages:
* binconfig were populated with a different name that upstream intended
* populated binconfig files that were not intended to be populated
* See http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-April/031972.html
Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Acked-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
binconfig_sysroot_preprocess () {
- for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do
+ for config in `find ${D} -name '${BINCONFIG_GLOB}'`; do
configname=`basename $config`
install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}
cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname