summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-03 22:02:34 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:23 (GMT)
commit379bc4788f592f958f358f68c9de9a8a0f400631 (patch)
tree8ca401bfb54feb8f03378ab95c84f5d87bd380b1 /meta/classes/autotools.bbclass
parentd7399bd56c8fc7c58af79ef91dc67382cc23eb47 (diff)
downloadpoky-379bc4788f592f958f358f68c9de9a8a0f400631.tar.gz
classes: Various staging improvement fixups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index bd88184..4946222 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -170,14 +170,13 @@ autotools_stage_includes() {
170} 170}
171 171
172autotools_stage_dir() { 172autotools_stage_dir() {
173 sysroot_stage_dir $1 ${STAGE_TEMP_PREFIX}$2 173 sysroot_stage_dir $1 ${STAGE_TEMP_PREFIX}$2
174} 174}
175 175
176autotools_stage_libdir() { 176autotools_stage_libdir() {
177 sysroot_stage_libdir $1 ${STAGE_TEMP_PREFIX}$2 177 sysroot_stage_libdir $1 ${STAGE_TEMP_PREFIX}$2
178} 178}
179 179
180
181autotools_stage_all() { 180autotools_stage_all() {
182 if [ "${INHIBIT_AUTO_STAGE}" = "1" ] 181 if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
183 then 182 then
@@ -186,8 +185,11 @@ autotools_stage_all() {
186 rm -rf ${STAGE_TEMP} 185 rm -rf ${STAGE_TEMP}
187 mkdir -p ${STAGE_TEMP} 186 mkdir -p ${STAGE_TEMP}
188 oe_runmake DESTDIR="${STAGE_TEMP}" install 187 oe_runmake DESTDIR="${STAGE_TEMP}" install
189 188 rm -rf ${STAGE_TEMP}/${mandir} || true
189 rm -rf ${STAGE_TEMP}/${infodir} || true
190 sysroot_stage_dirs ${STAGE_TEMP} ${STAGE_TEMP_PREFIX} 190 sysroot_stage_dirs ${STAGE_TEMP} ${STAGE_TEMP_PREFIX}
191 rm -rf ${STAGE_TEMP}
191} 192}
192 193
193EXPORT_FUNCTIONS do_configure do_install 194EXPORT_FUNCTIONS do_configure do_install
195