mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
support/scripts/gen-bootlin-toolchains: make use of BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER
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> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
80a24d0965
commit
a5599d727e
@@ -73,10 +73,12 @@ arches = {
|
|||||||
'microblazebe': {
|
'microblazebe': {
|
||||||
'conditions': ['BR2_microblazebe'],
|
'conditions': ['BR2_microblazebe'],
|
||||||
'prefix': 'microblaze',
|
'prefix': 'microblaze',
|
||||||
|
'gdbserver': False
|
||||||
},
|
},
|
||||||
'microblazeel': {
|
'microblazeel': {
|
||||||
'conditions': ['BR2_microblazeel'],
|
'conditions': ['BR2_microblazeel'],
|
||||||
'prefix': 'microblazeel',
|
'prefix': 'microblazeel',
|
||||||
|
'gdbserver': False
|
||||||
},
|
},
|
||||||
'mips32': {
|
'mips32': {
|
||||||
# Not sure it could be used by other mips32 variants?
|
# Not sure it could be used by other mips32 variants?
|
||||||
@@ -122,6 +124,7 @@ arches = {
|
|||||||
'openrisc': {
|
'openrisc': {
|
||||||
'conditions': ['BR2_or1k'],
|
'conditions': ['BR2_or1k'],
|
||||||
'prefix': 'or1k',
|
'prefix': 'or1k',
|
||||||
|
'gdbserver': False,
|
||||||
},
|
},
|
||||||
'powerpc-440fp': {
|
'powerpc-440fp': {
|
||||||
# Not sure it could be used by other powerpc variants?
|
# Not sure it could be used by other powerpc variants?
|
||||||
@@ -311,6 +314,9 @@ class Toolchain:
|
|||||||
for c in arches[self.arch]['conditions']:
|
for c in arches[self.arch]['conditions']:
|
||||||
depends.append(c)
|
depends.append(c)
|
||||||
|
|
||||||
|
if not arches[self.arch].get('gdbserver', True):
|
||||||
|
selects.append("BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER")
|
||||||
|
|
||||||
for frag in self.fragment:
|
for frag in self.fragment:
|
||||||
# libc type
|
# libc type
|
||||||
if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"):
|
if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"):
|
||||||
|
|||||||
Reference in New Issue
Block a user