summaryrefslogtreecommitdiffstats
path: root/rules/gdb.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-10-04 08:52:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-05 23:52:41 +0200
commit2c999beb94c8fdada1211eb676f7e69c42ac0405 (patch)
tree8bee6d0b73d864cd235b0c2582ed2032308596e5 /rules/gdb.make
parentf1ca2420a503c47e5fadae6f7431634797bc0cf8 (diff)
downloadptxdist-2c999beb94c8fdada1211eb676f7e69c42ac0405.tar.gz
ptxdist-2c999beb94c8fdada1211eb676f7e69c42ac0405.tar.xz
gdb: optionally use toolchain gdb version
This requires switching to tar.xz archives. Otherwise, the md5 does not match. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gdb.make')
-rw-r--r--rules/gdb.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/gdb.make b/rules/gdb.make
index c0a36831c..c1b35b1f0 100644
--- a/rules/gdb.make
+++ b/rules/gdb.make
@@ -18,10 +18,10 @@ PACKAGES-$(PTXCONF_GDB) += gdb
#
# Paths and names
#
-GDB_VERSION := $(call remove_quotes,$(PTXCONF_GDB_VERSION))
-GDB_MD5 := $(call remove_quotes,$(PTXCONF_GDB_MD5))
+GDB_VERSION = $(SHARED_GDB_VERSION)
+GDB_MD5 = $(SHARED_GDB_MD5)
GDB := gdb-$(GDB_VERSION)
-GDB_SUFFIX := tar.gz
+GDB_SUFFIX := tar.xz
GDB_SOURCE := $(SRCDIR)/$(GDB).$(GDB_SUFFIX)
GDB_DIR := $(BUILDDIR)/$(GDB)
GDB_LICENSE := GPL-3.0-or-later