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>
(cherry picked from commit
30de10cf939cf65c0cab6730a3575bced5c7533a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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}*