diff options
-rw-r--r-- | meta/classes/autotools.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index d50e7d80ea..8c1607405e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -179,11 +179,11 @@ autotools_stage_all() { | |||
179 | fi | 179 | fi |
180 | if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then | 180 | if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then |
181 | if [ -d ${STAGE_TEMP}/${bindir} ]; then | 181 | if [ -d ${STAGE_TEMP}/${bindir} ]; then |
182 | mkdir -p ${STAGING_DIR_HOST}${bindir} | 182 | mkdir -p ${STAGING_DIR_HOST}${layout_bindir} |
183 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_bindir} ${STAGE_TEMP}/${bindir}/* | 183 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_bindir} ${STAGE_TEMP}/${bindir}/* |
184 | fi | 184 | fi |
185 | if [ -d ${STAGE_TEMP}/${sbindir} ]; then | 185 | if [ -d ${STAGE_TEMP}/${sbindir} ]; then |
186 | mkdir -p ${STAGING_DIR_HOST}${sbindir} | 186 | mkdir -p ${STAGING_DIR_HOST}${layout_sbindir} |
187 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_sbindir} ${STAGE_TEMP}/${sbindir}/* | 187 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_sbindir} ${STAGE_TEMP}/${sbindir}/* |
188 | fi | 188 | fi |
189 | fi | 189 | fi |