diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-03 22:02:34 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:23 +0000 |
commit | 379bc4788f592f958f358f68c9de9a8a0f400631 (patch) | |
tree | 8ca401bfb54feb8f03378ab95c84f5d87bd380b1 /meta/classes/autotools.bbclass | |
parent | d7399bd56c8fc7c58af79ef91dc67382cc23eb47 (diff) | |
download | openembedded-core-379bc4788f592f958f358f68c9de9a8a0f400631.tar.gz openembedded-core-379bc4788f592f958f358f68c9de9a8a0f400631.tar.bz2 openembedded-core-379bc4788f592f958f358f68c9de9a8a0f400631.tar.xz openembedded-core-379bc4788f592f958f358f68c9de9a8a0f400631.zip |
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.bbclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index bd88184a7..4946222f7 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -170,14 +170,13 @@ autotools_stage_includes() { } autotools_stage_dir() { - sysroot_stage_dir $1 ${STAGE_TEMP_PREFIX}$2 + sysroot_stage_dir $1 ${STAGE_TEMP_PREFIX}$2 } autotools_stage_libdir() { sysroot_stage_libdir $1 ${STAGE_TEMP_PREFIX}$2 } - autotools_stage_all() { if [ "${INHIBIT_AUTO_STAGE}" = "1" ] then @@ -186,8 +185,11 @@ autotools_stage_all() { rm -rf ${STAGE_TEMP} mkdir -p ${STAGE_TEMP} oe_runmake DESTDIR="${STAGE_TEMP}" install - + rm -rf ${STAGE_TEMP}/${mandir} || true + rm -rf ${STAGE_TEMP}/${infodir} || true sysroot_stage_dirs ${STAGE_TEMP} ${STAGE_TEMP_PREFIX} + rm -rf ${STAGE_TEMP} } EXPORT_FUNCTIONS do_configure do_install + |