summaryrefslogtreecommitdiff
path: root/openembedded/classes/binconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-10-10 10:41:35 +0000
committerRichard Purdie <richard@openedhand.com>2005-10-10 10:41:35 +0000
commitcbf3ef91305558fb8a59e19c5987a9e9ca22013a (patch)
treef7142e57734a8b2fac92ff758a6617d4464a82f9 /openembedded/classes/binconfig.bbclass
parent562d4d35878bb644cbe2b9f23ef407fd6e1e38e2 (diff)
downloadopenembedded-core-cbf3ef91305558fb8a59e19c5987a9e9ca22013a.tar.gz
openembedded-core-cbf3ef91305558fb8a59e19c5987a9e9ca22013a.tar.bz2
openembedded-core-cbf3ef91305558fb8a59e19c5987a9e9ca22013a.tar.xz
openembedded-core-cbf3ef91305558fb8a59e19c5987a9e9ca22013a.zip
Merge changes from mainline OE to try and keep us in sync.
git-svn-id: https://svn.o-hand.com/repos/poky@127 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/binconfig.bbclass')
-rw-r--r--openembedded/classes/binconfig.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/openembedded/classes/binconfig.bbclass b/openembedded/classes/binconfig.bbclass
index a599dec3f..bf15ebcdf 100644
--- a/openembedded/classes/binconfig.bbclass
+++ b/openembedded/classes/binconfig.bbclass
@@ -24,8 +24,10 @@ def is_native(d):
import bb.data
return ["","-native"][bb.data.inherits_class('native', d)]
+BINCONFIG_GLOB ?= "*-config"
+
do_stage_append() {
- for config in `find ${S} -name '*-config'`; do
+ for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do
configname=`basename $config`${@is_native(d)}
install -d ${STAGING_BINDIR}
cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/$configname