summaryrefslogtreecommitdiff
path: root/classes/binconfig.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/binconfig.bbclass')
-rw-r--r--classes/binconfig.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/binconfig.bbclass b/classes/binconfig.bbclass
index b2545deddd..866d689896 100644
--- a/classes/binconfig.bbclass
+++ b/classes/binconfig.bbclass
@@ -24,8 +24,8 @@ def is_native(d):
do_stage_append() {
for config in `find ${S} -name '*-config'`; do
configname=`basename $config`${@is_native(d)}
- install -d ${STAGING_BINDIR}
- cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/$configname
- chmod u+x ${STAGING_BINDIR}/$configname
+ install -d ${STAGING_BINDIR}/${HOST_SYS}
+ cat $config | sed ${@get_binconfig_mangle(d)} > ${STAGING_BINDIR}/${HOST_SYS}/$configname
+ chmod u+x ${STAGING_BINDIR}/${HOST_SYS}/$configname
done
}