]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-target: fix glob to remove gcc-<version> binary
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Thu, 10 Feb 2022 16:14:03 +0000 (17:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Feb 2022 17:05:30 +0000 (17:05 +0000)
The glob to remove the gcc-<version> binary expects a single-digit major
version which is no longer true.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc

index bf55e692e673ea37e9e7cf06a3e13ef925bf3eab..bcea75b2fa706d69fd766653cb1069128acc11cd 100644 (file)
@@ -193,7 +193,7 @@ do_install () {
        rm -f *c++*
 
        # We don't care about the gcc-<version> ones for this
-       rm -f *gcc-?.?*
+       rm -f *gcc-?*.?*
 
        # Not sure why we end up with these but we don't want them...
        rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*