summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-10-05 13:18:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-05 13:18:48 +0000
commit68d2340460441d70490cdf720c6e7ad4685df4a4 (patch)
treec045cc9ebc3839471a9e4e055acded7ca8a923b7 /classes
parentd3b7798ae9bcec3d4e1037c00f47af1586868429 (diff)
parent4b6391d48f43ea0dc65734ca55f432b03e1f4f11 (diff)
merge of c009bb7a8231ab8c429364e170366207097c6c01
and f455175a8c475812470ebe3bf0c643a9b0bb30d4
Diffstat (limited to 'classes')
-rw-r--r--classes/binconfig.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass
index a599dec3f2..bf15ebcdf9 100644
--- a/classes/binconfig.bbclass
+++ b/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