package/gdb: farewell avr32
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 14 Feb 2015 09:23:12 +0000 (10:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Feb 2015 16:45:11 +0000 (17:45 +0100)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/Config.in
package/gdb/Config.in.host
package/gdb/gdb.mk

index b211878326fa93749fe5b3d5ec22319fabdb22e7..db6adf54f553909dcc88486a79d6b191da91926c 100644 (file)
@@ -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
index c8d6a94012c4d45ec956446b5eb837bf59403895..2a03939981b8d2c858d5826966ae10da86635a66 100644 (file)
@@ -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
index 24084b81c0cb89022d30852eab712b9b10198a02..6a192fb9c5f8ecd8adc6f59f760c6730650b1d07 100644 (file)
@@ -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 \