From: Stefan Herbrechtsmeier Date: Thu, 10 Feb 2022 16:14:03 +0000 (+0100) Subject: gcc-target: fix glob to remove gcc- binary X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~5234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30de10cf939cf65c0cab6730a3575bced5c7533a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc-target: fix glob to remove gcc- binary The glob to remove the gcc- binary expects a single-digit major version which is no longer true. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index bf55e692e67..bcea75b2fa7 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc @@ -193,7 +193,7 @@ do_install () { rm -f *c++* # We don't care about the gcc- 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}*