summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-26 15:10:03 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-26 12:13:03 +0100
commit1c0afb853ab40acb6fecdcc8989f8d2074bb1cb5 (patch)
treeb3d86bda47aaeaf0808389c5f7135c3fc3ec6bb6 /meta/recipes-devtools/gcc
parentfb3e59c88eda5ee3a53ad04aafaa7b749ecc1cc2 (diff)
downloadpoky-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/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-sdk.inc7
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 e2095e39fd..95d6804e93 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 () {
46 rm -f ${D}${libdir}/../lib/libiberty.a 46 rm -f ${D}${libdir}/../lib/libiberty.a
47 rm -f ${D}${libdir}/libiberty.a 47 rm -f ${D}${libdir}/libiberty.a
48 48
49 # Cleanup empty directories which are not shipped
50 # we use rmdir instead of 'rm -f' to ensure the directories are empty
51 rmdir ${D}${libdir}/../lib
52 rmdir ${D}${prefix}/${TARGET_SYS}/lib
53 rmdir ${D}${prefix}/${TARGET_SYS}
54 rmdir ${D}${includedir}
55
49 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are 56 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
50 # found. 57 # found.
51 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ 58 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/