package/gdb: make version 12.x the default

We can remove the quirk around BR2_or1k: it was there to make sure
that 11.x was the default when no target gdb is selected for all
architectures except or1k, and that 12.x would be used by default on
or1k, as 11.x is not available/broken.

Now that 12.x is the default for everybody, this quirk is no longer
needed. 11.x was already no selectable for or1k, and remains not
selectable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2023-08-02 23:49:47 +02:00
parent ae0b6f4383
commit 8568bcd38a

View File

@ -41,7 +41,7 @@ config BR2_PACKAGE_HOST_GDB_SIM
choice
prompt "GDB debugger Version"
default BR2_GDB_VERSION_11
default BR2_GDB_VERSION_12
depends on !BR2_arc
help
Select the version of gdb you wish to use.
@ -71,7 +71,7 @@ config BR2_GDB_VERSION
string
default "arc-2020.09-release-gdb" if BR2_arc
default "10.2" if BR2_GDB_VERSION_10
default "11.2" if BR2_GDB_VERSION_11 || (!BR2_PACKAGE_HOST_GDB && !BR2_or1k)
default "12.1" if BR2_GDB_VERSION_12 || (!BR2_PACKAGE_HOST_GDB && BR2_or1k)
default "11.2" if BR2_GDB_VERSION_11
default "12.1" if BR2_GDB_VERSION_12 || !BR2_PACKAGE_HOST_GDB
default "13.2" if BR2_GDB_VERSION_13
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB