diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-16 15:52:41 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-16 15:52:41 +0000 |
commit | 6ba4593f4ac4eae1c11bdedbbcad0dd2c75cde15 (patch) | |
tree | ec672297d23496940e622c700d4144cd1486228a /toolchain | |
parent | 1d3c30176e2be1c928f3d41e2deb74af7a082190 (diff) | |
download | buildroot-novena-6ba4593f4ac4eae1c11bdedbbcad0dd2c75cde15.tar.gz buildroot-novena-6ba4593f4ac4eae1c11bdedbbcad0dd2c75cde15.zip |
gdb: support external toolchain
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gdb/gdb.mk | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk index 933ffb207..f57946f20 100644 --- a/toolchain/gdb/gdb.mk +++ b/toolchain/gdb/gdb.mk @@ -20,21 +20,17 @@ GDB_DIR:=$(TOOL_BUILD_DIR)/gdb-$(GDB_VERSION) GDB_PATCH_DIR:=toolchain/gdb/$(GDB_VERSION) else -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -GDB_SITE:=$(BR2_GNU_MIRROR)/gdb -else -GDB_SITE:=$(VENDOR_SITE) -endif - GDB_OFFICIAL_VERSION:=$(GDB_VERSION)$(VENDOR_SUFFIX)$(VENDOR_GDB_RELEASE) GDB_SOURCE:=gdb-$(GDB_OFFICIAL_VERSION).tar.bz2 GDB_CAT:=$(BZCAT) -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION) -else +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y) +GDB_SITE:=$(VENDOR_SITE) GDB_PATCH_DIR:=$(VENDOR_PATCH_DIR)/gdb-$(GDB_OFFICIAL_VERSION) +else +GDB_SITE:=$(BR2_GNU_MIRROR)/gdb +GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION) endif GDB_DIR:=$(TOOL_BUILD_DIR)/gdb-$(GDB_OFFICIAL_VERSION) |