summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-20 01:01:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-21 14:29:10 +0100
commit52635969f94b952dee7570686c7fe1f853f42716 (patch)
treee2cd5752d1c798da073cc78892dc4a16891beec1 /meta
parentf809d27e292c7c87083ca17f06d34dd504dfd1f5 (diff)
downloadpoky-52635969f94b952dee7570686c7fe1f853f42716.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 553ef7fe62..db17ae4685 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -106,7 +106,7 @@ do_install () {
106 rm -f ${D}${bindir}/*c++ 106 rm -f ${D}${bindir}/*c++
107 107
108 # We don't care about the gcc-<version> copies 108 # We don't care about the gcc-<version> copies
109 rm -f ${D}${bindir}/*gcc-?.?* 109 rm -f ${D}${bindir}/*gcc-${BINV}*
110 110
111 # Cleanup empty directories which are not shipped 111 # Cleanup empty directories which are not shipped
112 # we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted 112 # we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted