summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/binconfig.bbclass6
-rw-r--r--conf/bitbake.conf2
2 files changed, 4 insertions, 4 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
}
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index d7574fc013..76cab50ca7 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -191,7 +191,7 @@ EXTRA_IMAGEDEPENDS = ""
CROSS_DIR = "${TMPDIR}/cross"
CROSS_DATADIR = "${CROSS_DIR}/share"
-export PATH_prepend = "${STAGING_BINDIR}:${CROSS_DIR}/bin:"
+export PATH_prepend = "${STAGING_BINDIR}/${HOST_SYS}:${STAGING_BINDIR}:${CROSS_DIR}/bin:"
##################################################################
# Build utility info.