]> git.openpandora.org Git - openembedded.git/commitdiff
binconfig.bbclass: add new BINCONFIG_GLOB variable to allow passing a different glob...
authorRene Wagner <rw@handhelds.org>
Wed, 5 Oct 2005 13:15:20 +0000 (13:15 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 5 Oct 2005 13:15:20 +0000 (13:15 +0000)
classes/binconfig.bbclass

index a599dec3f27cfeebce6e74ae2e0315c22a6e28b9..bf15ebcdf98b6354527aacb3bbd00c74f9164e8f 100644 (file)
@@ -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