summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/binconfig.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 39c3e2b17b..133b9537cf 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -31,7 +31,7 @@ BINCONFIG_GLOB ?= "*-config"
31PACKAGE_PREPROCESS_FUNCS += "binconfig_package_preprocess" 31PACKAGE_PREPROCESS_FUNCS += "binconfig_package_preprocess"
32 32
33binconfig_package_preprocess () { 33binconfig_package_preprocess () {
34 for config in `find ${PKGD} -name '${BINCONFIG_GLOB}'`; do 34 for config in `find ${PKGD} -type f -name '${BINCONFIG_GLOB}'`; do
35 sed -i \ 35 sed -i \
36 -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \ 36 -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \
37 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ 37 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
@@ -40,7 +40,7 @@ binconfig_package_preprocess () {
40 -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \ 40 -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
41 $config 41 $config
42 done 42 done
43 for lafile in `find ${PKGD} -name "*.la"` ; do 43 for lafile in `find ${PKGD} -type f -name "*.la"` ; do
44 sed -i \ 44 sed -i \
45 -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \ 45 -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \
46 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ 46 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
@@ -54,7 +54,7 @@ binconfig_package_preprocess () {
54SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" 54SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
55 55
56binconfig_sysroot_preprocess () { 56binconfig_sysroot_preprocess () {
57 for config in `find ${S} -name '${BINCONFIG_GLOB}'` `find ${B} -name '${BINCONFIG_GLOB}'`; do 57 for config in `find ${S} -type f -name '${BINCONFIG_GLOB}'` `find ${B} -type f -name '${BINCONFIG_GLOB}'`; do
58 configname=`basename $config` 58 configname=`basename $config`
59 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} 59 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
60 sed ${@get_binconfig_mangle(d)} $config > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname 60 sed ${@get_binconfig_mangle(d)} $config > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname