diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-03-26 15:10:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-26 12:13:03 +0100 |
commit | 1c0afb853ab40acb6fecdcc8989f8d2074bb1cb5 (patch) | |
tree | b3d86bda47aaeaf0808389c5f7135c3fc3ec6bb6 /meta/recipes-devtools | |
parent | fb3e59c88eda5ee3a53ad04aafaa7b749ecc1cc2 (diff) | |
download | ast2050-yocto-poky-1c0afb853ab40acb6fecdcc8989f8d2074bb1cb5.zip ast2050-yocto-poky-1c0afb853ab40acb6fecdcc8989f8d2074bb1cb5.tar.gz |
gcc-cross-canadian: Fixed packaging warnings.
Removed non-shipped empty directories:
-${prefix}/${TARGET_SYS}
-${libdir}/../lib
-${prefix}/include
(From OE-Core rev: 04a08bf7e8d7cf4b6b844a88173b5d1d7917c8af)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-sdk.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-sdk.inc b/meta/recipes-devtools/gcc/gcc-package-sdk.inc index e2095e3..95d6804 100644 --- a/meta/recipes-devtools/gcc/gcc-package-sdk.inc +++ b/meta/recipes-devtools/gcc/gcc-package-sdk.inc @@ -46,6 +46,13 @@ do_install () { rm -f ${D}${libdir}/../lib/libiberty.a rm -f ${D}${libdir}/libiberty.a + # Cleanup empty directories which are not shipped + # we use rmdir instead of 'rm -f' to ensure the directories are empty + rmdir ${D}${libdir}/../lib + rmdir ${D}${prefix}/${TARGET_SYS}/lib + rmdir ${D}${prefix}/${TARGET_SYS} + rmdir ${D}${includedir} + # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are # found. dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ |