package/gdb: farewell avr32
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8f8e9162fa
commit
608060caa1
|
@ -40,10 +40,10 @@ config BR2_PACKAGE_GDB_DEBUGGER
|
|||
bool "full debugger"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin
|
||||
depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze && !BR2_bfin
|
||||
|
||||
comment "full gdb on target needs a toolchain w/ wchar"
|
||||
depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin
|
||||
depends on !BR2_sh && !BR2_sh64 && !BR2_microblaze && !BR2_bfin
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
if BR2_PACKAGE_GDB_DEBUGGER
|
||||
|
|
|
@ -27,15 +27,10 @@ choice
|
|||
prompt "GDB debugger Version"
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_microblaze
|
||||
default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
|
||||
default BR2_GDB_VERSION_7_7
|
||||
help
|
||||
Select the version of gdb you wish to use.
|
||||
|
||||
config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
|
||||
depends on BR2_avr32
|
||||
bool "gdb 6.7.1-avr32-2.1.5"
|
||||
|
||||
config BR2_GDB_VERSION_7_7
|
||||
bool "gdb 7.7.x"
|
||||
|
||||
|
@ -50,8 +45,6 @@ endif
|
|||
config BR2_GDB_VERSION
|
||||
string
|
||||
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
|
||||
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
||||
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
||||
default "arc-2014.12-gdb" if BR2_arc
|
||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||
default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB
|
||||
|
|
|
@ -19,10 +19,6 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
|
|||
GDB_FROM_GIT = y
|
||||
endif
|
||||
|
||||
ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
|
||||
GDB_SITE = ftp://www.at91.com/pub/buildroot
|
||||
endif
|
||||
|
||||
# Starting from 7.8.x, bz2 tarballs no longer available, use .tar.xz
|
||||
# instead.
|
||||
ifneq ($(filter 7.8.%,$(GDB_VERSION)),)
|
||||
|
@ -129,12 +125,9 @@ endif
|
|||
# * --target, because we're doing a cross build rather than a real
|
||||
# host build.
|
||||
# * --enable-static because gdb really wants to use libbfd.a
|
||||
# * --disable-shared, otherwise the old 6.7 version specific to AVR32
|
||||
# doesn't build because it wants to link a shared libbfd.so against
|
||||
# non-PIC liberty.a.
|
||||
HOST_GDB_CONF_OPTS = \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--enable-static --disable-shared \
|
||||
--enable-static \
|
||||
--without-uiout \
|
||||
--disable-gdbtk \
|
||||
--without-x \
|
||||
|
|
Loading…
Reference in a new issue