summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass34
1 files changed, 1 insertions, 33 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 649e269f3e..6f2fcbf211 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -164,41 +164,9 @@ autotools_prepackage_lamangler () {
164 done 164 done
165} 165}
166 166
167# STAGE_TEMP_PREFIX is used for a speedup by packaged-staging
168STAGE_TEMP="${WORKDIR}/temp-staging"
169STAGE_TEMP_PREFIX = ""
170
171autotools_stage_includes() {
172 if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
173 then
174 rm -rf ${STAGE_TEMP}
175 mkdir -p ${STAGE_TEMP}
176 make DESTDIR="${STAGE_TEMP}" install
177 cp -pPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
178 rm -rf ${STAGE_TEMP}
179 fi
180}
181
182autotools_stage_dir() { 167autotools_stage_dir() {
183 sysroot_stage_dir $1 ${STAGE_TEMP_PREFIX}$2 168 sysroot_stage_dir $1 $2
184} 169}
185 170
186autotools_stage_libdir() {
187 sysroot_stage_libdir $1 ${STAGE_TEMP_PREFIX}$2
188}
189
190autotools_stage_all() {
191 if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
192 then
193 return
194 fi
195 rm -rf ${STAGE_TEMP}
196 mkdir -p ${STAGE_TEMP}
197 oe_runmake DESTDIR="${STAGE_TEMP}" install
198 rm -rf ${STAGE_TEMP}/${mandir} || true
199 rm -rf ${STAGE_TEMP}/${infodir} || true
200 sysroot_stage_dirs ${STAGE_TEMP} ${STAGE_TEMP_PREFIX}
201 rm -rf ${STAGE_TEMP}
202}
203 171
204EXPORT_FUNCTIONS do_configure do_install 172EXPORT_FUNCTIONS do_configure do_install