From: "Khem Raj" <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [PATCH V2 3/3] gcc-cross-canadian: Correct the regexp to delete versioned gcc binary
Date: Thu, 20 Aug 2020 01:01:15 -0700 [thread overview]
Message-ID: <20200820080115.2715139-3-raj.khem@gmail.com> (raw)
In-Reply-To: <20200820080115.2715139-1-raj.khem@gmail.com>
After gcc 10 this expression needed to be adjusted, its better to use a
bitbake variable which we do have readily available
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index c5935b978d..d3875c94d3 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 () {
rm -f ${D}${bindir}/*c++
# We don't care about the gcc-<version> copies
- rm -f ${D}${bindir}/*gcc-?.?*
+ rm -f ${D}${bindir}/*gcc-${BINV}*
# Cleanup empty directories which are not shipped
# we use rmdir instead of 'rm -f' to ensure the non empty directories are not deleted
--
2.28.0
prev parent reply other threads:[~2020-08-20 8:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 8:01 [PATCH V2 1/3] binutils: Let crosssdk gold linker generate 4096 btyes long .interp section Khem Raj
2020-08-20 8:01 ` [PATCH V2 2/3] gcc-cross-canadian: Install gcc/g++ wrappers for musl Khem Raj
2020-08-20 21:07 ` Leon Woestenberg
2020-08-20 22:51 ` Khem Raj
2020-08-21 10:51 ` [OE-core] " Richard Purdie
2020-08-21 19:51 ` Khem Raj
2020-08-20 8:01 ` Khem Raj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200820080115.2715139-3-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox