1
0
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:
Khem Raj
2020-08-20 01:01:15 -07:00
committed by Richard Purdie
parent f809d27e29
commit 52635969f9
@@ -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