gcc-target: fix glob to remove gcc-<version> binary

The glob to remove the gcc-<version> binary expects a single-digit major
version which is no longer true.

(From OE-Core rev: 542ceb1cb20bd1117e957143c854526896e17793)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30de10cf939cf65c0cab6730a3575bced5c7533a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Herbrechtsmeier 2022-02-10 17:14:03 +01:00 committed by Richard Purdie
parent 3373a7a0fe
commit 2dcbf103c7

View 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}*