mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
gcc-cross-canadian: Fixed packaging warnings.
Removed non-shipped empty directories:
-${prefix}/${TARGET_SYS}
-${libdir}/../lib
-${prefix}/include
(From OE-Core rev: 04a08bf7e8d7cf4b6b844a88173b5d1d7917c8af)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fb3e59c88e
commit
1c0afb853a
@@ -46,6 +46,13 @@ do_install () {
|
|||||||
rm -f ${D}${libdir}/../lib/libiberty.a
|
rm -f ${D}${libdir}/../lib/libiberty.a
|
||||||
rm -f ${D}${libdir}/libiberty.a
|
rm -f ${D}${libdir}/libiberty.a
|
||||||
|
|
||||||
|
# Cleanup empty directories which are not shipped
|
||||||
|
# we use rmdir instead of 'rm -f' to ensure the directories are empty
|
||||||
|
rmdir ${D}${libdir}/../lib
|
||||||
|
rmdir ${D}${prefix}/${TARGET_SYS}/lib
|
||||||
|
rmdir ${D}${prefix}/${TARGET_SYS}
|
||||||
|
rmdir ${D}${includedir}
|
||||||
|
|
||||||
# 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
|
||||||
# found.
|
# found.
|
||||||
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
|
||||||
|
|||||||
Reference in New Issue
Block a user