summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index ec1d4af1a4..8d448ce0d3 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -150,4 +150,16 @@ autotools_stage_includes() {
fi
}
+autotools_stage_all() {
+ if [ "${INHIBIT_AUTO_STAGE}" != "1" ]
+ then
+ rm -rf ${STAGE_TEMP}
+ mkdir -p ${STAGE_TEMP}
+ oe_runmake DESTDIR="${STAGE_TEMP}" install
+ cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ cp -pPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
+ rm -rf ${STAGE_TEMP}
+ fi
+}
+
EXPORT_FUNCTIONS do_configure do_install