diff options
Diffstat (limited to 'openembedded/classes/binconfig.bbclass')
-rw-r--r-- | openembedded/classes/binconfig.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openembedded/classes/binconfig.bbclass b/openembedded/classes/binconfig.bbclass index a599dec3f2..bf15ebcdf9 100644 --- a/openembedded/classes/binconfig.bbclass +++ b/openembedded/classes/binconfig.bbclass | |||
@@ -24,8 +24,10 @@ def is_native(d): | |||
24 | import bb.data | 24 | import bb.data |
25 | return ["","-native"][bb.data.inherits_class('native', d)] | 25 | return ["","-native"][bb.data.inherits_class('native', d)] |
26 | 26 | ||
27 | BINCONFIG_GLOB ?= "*-config" | ||
28 | |||
27 | do_stage_append() { | 29 | do_stage_append() { |
28 | for config in `find ${S} -name '*-config'`; do | 30 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do |
29 | configname=`basename $config`${@is_native(d)} | 31 | configname=`basename $config`${@is_native(d)} |
30 | install -d ${STAGING_BINDIR} | 32 | install -d ${STAGING_BINDIR} |
31 | cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/$configname | 33 | cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/$configname |