diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-04-13 04:09:10 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-04-13 20:12:39 +0200 |
commit | eb29c831179791ef79164d2108fca4d34a603915 (patch) | |
tree | 15016fcc3ec879536ac1fa0096542603174f3043 | |
parent | 5dbb4038153730810e28855ad8c8cb115e421454 (diff) | |
download | buildroot-novena-eb29c831179791ef79164d2108fca4d34a603915.tar.gz buildroot-novena-eb29c831179791ef79164d2108fca4d34a603915.zip |
gdb: properly set the gdb site in all cases
Until now, the gdb site for AVR32 was adjusted only when GDB_VERSION
was not set, i.e only when the cross-gdb is *not* built. We should in
fact also set the site when the cross-gdb is built, so when
GDB_VERSION is defined through package/gdb/Config.in.host.
So, instead, we now have something like:
ifeq ($(GDB_VERSION),)
# we define here a default version that is used when the cross-gdb is
# not built and only the target gdb is selected.
endif
ifeq ($(GDB_VERSION),something-special)
GDB_SITE = some-special-site-for-some-special-gdb-version
endif
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/gdb/gdb.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 73ff7a465..398ef7bbe 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -16,12 +16,15 @@ ifeq ($(BR2_bfin),y) GDB_VERSION = 6.6a else ifeq ($(BR2_avr32),y) GDB_VERSION = 6.7.1-avr32-2.1.5 -GDB_SITE = ftp://www.at91.com/pub/buildroot/ else GDB_VERSION = 7.5.1 endif endif +ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5) +GDB_SITE = ftp://www.at91.com/pub/buildroot/ +endif + GDB_SOURCE = gdb-$(GDB_VERSION).tar.bz2 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+ GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB |