diff options
Diffstat (limited to 'openembedded/classes/autotools.bbclass')
-rw-r--r-- | openembedded/classes/autotools.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openembedded/classes/autotools.bbclass b/openembedded/classes/autotools.bbclass index ec1d4af1a4..8d448ce0d3 100644 --- a/openembedded/classes/autotools.bbclass +++ b/openembedded/classes/autotools.bbclass | |||
@@ -150,4 +150,16 @@ autotools_stage_includes() { | |||
150 | fi | 150 | fi |
151 | } | 151 | } |
152 | 152 | ||
153 | autotools_stage_all() { | ||
154 | if [ "${INHIBIT_AUTO_STAGE}" != "1" ] | ||
155 | then | ||
156 | rm -rf ${STAGE_TEMP} | ||
157 | mkdir -p ${STAGE_TEMP} | ||
158 | oe_runmake DESTDIR="${STAGE_TEMP}" install | ||
159 | cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR} | ||
160 | cp -pPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} | ||
161 | rm -rf ${STAGE_TEMP} | ||
162 | fi | ||
163 | } | ||
164 | |||
153 | EXPORT_FUNCTIONS do_configure do_install | 165 | EXPORT_FUNCTIONS do_configure do_install |