diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/autotools.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 7a87cc0bf8..004ac79f03 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -177,6 +177,18 @@ autotools_stage_all() { | |||
177 | mkdir -p ${STAGING_INCDIR} | 177 | mkdir -p ${STAGING_INCDIR} |
178 | cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/* | 178 | cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/* |
179 | fi | 179 | fi |
180 | if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then | ||
181 | if [ -d ${STAGE_TEMP}/${bindir} ]; then | ||
182 | echo "here 1" | ||
183 | mkdir -p ${STAGING_DIR_HOST}${bindir} | ||
184 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_bindir} ${STAGE_TEMP}/${bindir}/* | ||
185 | fi | ||
186 | if [ -d ${STAGE_TEMP}/${sbindir} ]; then | ||
187 | echo "here 2" | ||
188 | mkdir -p ${STAGING_DIR_HOST}${sbindir} | ||
189 | cp -fpPR -t ${STAGING_DIR_HOST}/${layout_sbindir} ${STAGE_TEMP}/${bindir}/* | ||
190 | fi | ||
191 | fi | ||
180 | if [ -d ${STAGE_TEMP}/${libdir} ] | 192 | if [ -d ${STAGE_TEMP}/${libdir} ] |
181 | then | 193 | then |
182 | olddir=`pwd` | 194 | olddir=`pwd` |