diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-20 10:38:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-20 23:51:28 +0000 |
commit | bbaf97ba38329b5221e6d4d0d18f20e6b7d6fd91 (patch) | |
tree | cebad3f6b7000ab63cf7dbb33af745136b292463 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |
parent | b59eff83f971347254081426e8a1f2ef6ee700e5 (diff) | |
download | openembedded-core-bbaf97ba38329b5221e6d4d0d18f20e6b7d6fd91.tar.gz openembedded-core-bbaf97ba38329b5221e6d4d0d18f20e6b7d6fd91.tar.bz2 openembedded-core-bbaf97ba38329b5221e6d4d0d18f20e6b7d6fd91.zip |
gcc-cross-canadian: Enable stripping and packaging of binaries
This seems to have been disabled since the dawn of time for no good reason.
Enable the .debug stripping and packaging allowing for a smaller SDK.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 0f79533771..750a4f2113 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc @@ -62,12 +62,10 @@ do_compile () { oe_runmake all-host configure-target-libgcc } -INHIBIT_PACKAGE_STRIP = "1" - # Having anything auto depending on gcc-cross-sdk is a really bad idea... EXCLUDE_FROM_SHLIBS = "1" -PACKAGES = "${PN} ${PN}-doc" +PACKAGES = "${PN}-dbg ${PN} ${PN}-doc" FILES_${PN} = "\ ${exec_prefix}/bin/* \ @@ -86,6 +84,11 @@ FILES_${PN} = "\ " INSANE_SKIP_${PN} += "dev-so" +FILES_${PN}-dbg += " \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/.debug \ +" + FILES_${PN}-doc = "\ ${infodir} \ ${mandir} \ |