summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-11 20:20:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-11 20:20:21 +0000
commit070e75b9c6cc865471ae4bded62e3cc958f41d51 (patch)
tree31356a12bb0b8dede8632fc9056baf26d775a6d3 /classes/autotools.bbclass
parent2acf28fb2e382351b774326eff393e1f93df92e8 (diff)
parentbece5b20b67cbd731804da824758eda49875eef9 (diff)
propagate from branch 'org.openembedded.dev' (head af7da4406babf078f2747a3588cfa451ae711315)
to branch 'org.openembedded.nslu2-linux' (head 99bf568313454a05bf17df79cb135d7e4bb6c643)
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 1d6a607559..8a387da5ca 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -140,11 +140,14 @@ autotools_do_install() {
STAGE_TEMP="${WORKDIR}/temp-staging"
autotools_stage_includes() {
- rm -rf ${STAGE_TEMP}
- mkdir -p ${STAGE_TEMP}
- make DESTDIR="${STAGE_TEMP}" install
- cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
- rm -rf ${STAGE_TEMP}
+ if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
+ then
+ rm -rf ${STAGE_TEMP}
+ mkdir -p ${STAGE_TEMP}
+ make DESTDIR="${STAGE_TEMP}" install
+ cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ rm -rf ${STAGE_TEMP}
+ fi
}
EXPORT_FUNCTIONS do_configure do_install