mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 14:49:50 +00:00
gcc-cross-canadian: Correct the regexp to delete versioned gcc binary
After gcc 10 this expression needed to be adjusted, its better to use a bitbake variable which we do have readily available (From OE-Core rev: ee2beaff701d02736c8244ebc76f6d6ca96a04f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -106,7 +106,7 @@ do_install () {
|
||||
rm -f ${D}${bindir}/*c++
|
||||
|
||||
# We don't care about the gcc-<version> copies
|
||||
rm -f ${D}${bindir}/*gcc-?.?*
|
||||
rm -f ${D}${bindir}/*gcc-${BINV}*
|
||||
|
||||
# Cleanup empty directories which are not shipped
|
||||
# we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted
|
||||
|
||||
Reference in New Issue
Block a user