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:56:06 +0000 |
commit | 92739edc9da0dea10ccc9d153226cacd6a18ee33 (patch) | |
tree | ef5eec5f668a6fae7268a78e3a4c1e8d3630442f /meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |
parent | 31801c66df9fcb14a60b3df2e6aa7c9b86fa702a (diff) | |
download | poky-92739edc9da0dea10ccc9d153226cacd6a18ee33.tar.gz |
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.
(From OE-Core rev: bbaf97ba38329b5221e6d4d0d18f20e6b7d6fd91)
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 () { | |||
62 | oe_runmake all-host configure-target-libgcc | 62 | oe_runmake all-host configure-target-libgcc |
63 | } | 63 | } |
64 | 64 | ||
65 | INHIBIT_PACKAGE_STRIP = "1" | ||
66 | |||
67 | # Having anything auto depending on gcc-cross-sdk is a really bad idea... | 65 | # Having anything auto depending on gcc-cross-sdk is a really bad idea... |
68 | EXCLUDE_FROM_SHLIBS = "1" | 66 | EXCLUDE_FROM_SHLIBS = "1" |
69 | 67 | ||
70 | PACKAGES = "${PN} ${PN}-doc" | 68 | PACKAGES = "${PN}-dbg ${PN} ${PN}-doc" |
71 | 69 | ||
72 | FILES_${PN} = "\ | 70 | FILES_${PN} = "\ |
73 | ${exec_prefix}/bin/* \ | 71 | ${exec_prefix}/bin/* \ |
@@ -86,6 +84,11 @@ FILES_${PN} = "\ | |||
86 | " | 84 | " |
87 | INSANE_SKIP_${PN} += "dev-so" | 85 | INSANE_SKIP_${PN} += "dev-so" |
88 | 86 | ||
87 | FILES_${PN}-dbg += " \ | ||
88 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug \ | ||
89 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/.debug \ | ||
90 | " | ||
91 | |||
89 | FILES_${PN}-doc = "\ | 92 | FILES_${PN}-doc = "\ |
90 | ${infodir} \ | 93 | ${infodir} \ |
91 | ${mandir} \ | 94 | ${mandir} \ |