summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-04-19 18:18:00 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-31 20:15:08 (GMT)
commitfc9716930a4bc4b0552adb1db538fb11a3fd46c6 (patch)
treec174db48e109d062606464972659742f98156040 /meta/recipes-devtools/gcc
parentf99ced96cfcbdc4dab6b28c14e5072bb0f764af9 (diff)
downloadpoky-fc9716930a4bc4b0552adb1db538fb11a3fd46c6.tar.gz
gcc: Add plugins package for ARM, fix /usr/incude packaging
WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/include WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h (From OE-Core rev: cf49cf3958b24fdb89d57abbf1f1b30c07a06030) Signed-off-by: Saul Wold <sgw@linux.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-target.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index 3076670..a499c88 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -1,5 +1,5 @@
1PACKAGES = "\ 1PACKAGES = "\
2 ${PN} ${PN}-symlinks \ 2 ${PN} ${PN}-plugins ${PN}-symlinks \
3 g++ g++-symlinks \ 3 g++ g++-symlinks \
4 cpp cpp-symlinks \ 4 cpp cpp-symlinks \
5 g77 g77-symlinks \ 5 g77 g77-symlinks \
@@ -40,6 +40,11 @@ FILES_${PN}-symlinks = "\
40 ${bindir}/gccbug \ 40 ${bindir}/gccbug \
41" 41"
42 42
43FILES_${PN}-plugins = "\
44 ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
45"
46ALLOW_EMPTY_${PN}-plugins = "1"
47
43FILES_g77 = "\ 48FILES_g77 = "\
44 ${bindir}/${TARGET_PREFIX}g77 \ 49 ${bindir}/${TARGET_PREFIX}g77 \
45 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \ 50 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
@@ -88,6 +93,7 @@ do_install () {
88 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 93 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
89 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 94 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
90 rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la 95 rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
96 rmdir ${D}${includedir}
91 97
92 # Hack around specs file assumptions 98 # Hack around specs file assumptions
93 test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs 99 test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs