From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>,
Romain Naour <romain.naour@gmail.com>,
Buildroot List <buildroot@buildroot.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 08/11] support/scripts/gen-bootlin-toolchains: make use of BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER
Date: Tue, 7 Jun 2022 22:35:49 +0200 [thread overview]
Message-ID: <20220607203553.3307479-9-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20220607203553.3307479-1-thomas.petazzoni@bootlin.com>
The microblazeel, microblazebe and openrisc toolchains need to select
this option as they don't have any gdb/gdbserver.
Helps in fixing:
http://autobuild.buildroot.net/results/6315ef7b66ee4ae8f870c92186bc674d65f62f2c/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
support/scripts/gen-bootlin-toolchains | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains
index c96a388f84..ad65f9fe5e 100755
--- a/support/scripts/gen-bootlin-toolchains
+++ b/support/scripts/gen-bootlin-toolchains
@@ -73,10 +73,12 @@ arches = {
'microblazebe': {
'conditions': ['BR2_microblazebe'],
'prefix': 'microblaze',
+ 'gdbserver': False
},
'microblazeel': {
'conditions': ['BR2_microblazeel'],
'prefix': 'microblazeel',
+ 'gdbserver': False
},
'mips32': {
# Not sure it could be used by other mips32 variants?
@@ -122,6 +124,7 @@ arches = {
'openrisc': {
'conditions': ['BR2_or1k'],
'prefix': 'or1k',
+ 'gdbserver': False,
},
'powerpc-440fp': {
# Not sure it could be used by other powerpc variants?
@@ -311,6 +314,9 @@ class Toolchain:
for c in arches[self.arch]['conditions']:
depends.append(c)
+ if not arches[self.arch].get('gdbserver', True):
+ selects.append("BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER")
+
for frag in self.fragment:
# libc type
if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"):
--
2.35.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-06-07 20:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 20:35 [Buildroot] [PATCH 00/11] Another set of Bootlin toolchain integration improvements Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 01/11] support/scripts/gen-bootlin-toolchains: fix RISC-V 64-bit toolchain description Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 02/11] support/testing, toolchain/toolchain-external/toolchain-external-bootlin: regenerate with latest gen-bootlin-toolchains script Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 03/11] support/scripts/gen-bootlin-toolchains: improve dependencies of ARM toolchains Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 04/11] toolchain/toolchain-external/toolchain-external-bootlin: regenerate with BR2_ARM dependency Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 05/11] support/scripts/gen-bootlin-toolchains: adjust dependencies of i686 toolchains Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 06/11] toolchain/toolchain-external/toolchain-external-bootlin: regenerate after i686 toolchain dependency fixes Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 07/11] toolchain/toolchain-external: add BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER option Thomas Petazzoni via buildroot
2022-06-07 20:35 ` Thomas Petazzoni via buildroot [this message]
2022-06-07 20:35 ` [Buildroot] [PATCH 09/11] toolchain/toolchain-external/toolchain-external-bootlin: regenerate with BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 10/11] support/scripts/gen-bootlin-toolchains: add support for ARMv7 big endian toolchain Thomas Petazzoni via buildroot
2022-06-07 20:35 ` [Buildroot] [PATCH 11/11] support/testing, toolchain/toolchain-external/toolchain-external-bootlin: regenerate with " Thomas Petazzoni via buildroot
2022-07-11 17:16 ` [Buildroot] [PATCH 00/11] Another set of Bootlin toolchain integration improvements Peter Korsgaard
2022-07-11 17:17 ` Peter Korsgaard
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=20220607203553.3307479-9-thomas.petazzoni@bootlin.com \
--to=buildroot@buildroot.org \
--cc=romain.naour@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.