gcc: Fix two QA issues
a) There is a QA warning from a .so being present in a main package. In the case of the plugin library for gcc, this is allowed. b) Remove the unwanted libiberty.a file with the strange path. We don't need/want this and this removes an unpackaged file warning. (From OE-Core rev: ca36a3edf9cede9fa0d73ba1a9538ab467cb5e3c) (From OE-Core rev: 974677d32e0af74fab58d1b12b8d786b67323c5a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
877979c8b5
commit
cd50451812
|
@ -19,6 +19,8 @@ FILES_${PN} = "\
|
||||||
${prefix}/${TARGET_SYS}/lib/* \
|
${prefix}/${TARGET_SYS}/lib/* \
|
||||||
${prefix}/${TARGET_SYS}/usr/include/* \
|
${prefix}/${TARGET_SYS}/usr/include/* \
|
||||||
"
|
"
|
||||||
|
INSANE_SKIP_${PN} += "dev-so"
|
||||||
|
|
||||||
FILES_${PN}-doc = "\
|
FILES_${PN}-doc = "\
|
||||||
${infodir} \
|
${infodir} \
|
||||||
${mandir} \
|
${mandir} \
|
||||||
|
@ -40,6 +42,8 @@ do_install () {
|
||||||
|
|
||||||
# We use libiberty from binutils
|
# We use libiberty from binutils
|
||||||
rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
|
rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
|
||||||
|
# Not sure where the strange paths come from
|
||||||
|
rm -f ${D}${libdir}/../lib/libiberty.a
|
||||||
rm -f ${D}${libdir}/libiberty.a
|
rm -f ${D}${libdir}/libiberty.a
|
||||||
|
|
||||||
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
|
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
|
||||||
|
|
|
@ -24,6 +24,8 @@ FILES_${PN} = "\
|
||||||
${gcclibdir}/${TARGET_SYS}/${BINV}/include \
|
${gcclibdir}/${TARGET_SYS}/${BINV}/include \
|
||||||
${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
|
${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
|
||||||
"
|
"
|
||||||
|
INSANE_SKIP_${PN} += "dev-so"
|
||||||
|
|
||||||
FILES_${PN}-dbg += "\
|
FILES_${PN}-dbg += "\
|
||||||
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug/ \
|
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug/ \
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue