mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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: aff48c514174ba5fa3bb1e5df5293376b567da09) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
08920d7380
commit
67fbab3dd5
@@ -1,5 +1,5 @@
|
|||||||
PACKAGES = "\
|
PACKAGES = "\
|
||||||
${PN} ${PN}-symlinks \
|
${PN} ${PN}-plugins ${PN}-symlinks \
|
||||||
g++ g++-symlinks \
|
g++ g++-symlinks \
|
||||||
cpp cpp-symlinks \
|
cpp cpp-symlinks \
|
||||||
g77 g77-symlinks \
|
g77 g77-symlinks \
|
||||||
@@ -40,6 +40,11 @@ FILES_${PN}-symlinks = "\
|
|||||||
${bindir}/gccbug \
|
${bindir}/gccbug \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
FILES_${PN}-plugins = "\
|
||||||
|
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
|
||||||
|
"
|
||||||
|
ALLOW_EMPTY_${PN}-plugins = "1"
|
||||||
|
|
||||||
FILES_g77 = "\
|
FILES_g77 = "\
|
||||||
${bindir}/${TARGET_PREFIX}g77 \
|
${bindir}/${TARGET_PREFIX}g77 \
|
||||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
|
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
|
||||||
@@ -88,6 +93,7 @@ do_install () {
|
|||||||
rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
|
rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
|
||||||
rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
|
rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
|
||||||
rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
|
rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
|
||||||
|
rmdir ${D}${includedir}
|
||||||
|
|
||||||
# Hack around specs file assumptions
|
# Hack around specs file assumptions
|
||||||
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user