The to be used release for GDB can be defined in the menu. Upstream now seems
to prefer the xz archive format for newer releases, but kept the bz2 for older
releases. Only the gz archive format is available for all releases.
By switching to the gz archive format should work for all releases now.
Drawback: gz archives are much larger than bz2 or xz archives.
Signed-off-by: Juergen Borleis <[email protected]>
diff --git a/rules/gdb.make b/rules/gdb.make
index ab2cbe4812f5..cc916e99966a 100644
--- a/rules/gdb.make
+++ b/rules/gdb.make
@@ -21,7 +21,7 @@ PACKAGES-$(PTXCONF_GDB) += gdb
GDB_VERSION := $(call remove_quotes,$(PTXCONF_GDB_VERSION))
GDB_MD5 := $(call remove_quotes,$(PTXCONF_GDB_MD5))
GDB := gdb-$(GDB_VERSION)
-GDB_SUFFIX := tar.bz2
+GDB_SUFFIX := tar.gz
GDB_SOURCE := $(SRCDIR)/$(GDB).$(GDB_SUFFIX)
GDB_DIR := $(BUILDDIR)/$(GDB)
GDB_LICENSE := GPLv3+
diff --git a/rules/gdbserver.make b/rules/gdbserver.make
index c3574658cc63..d4caafb139fb 100644
--- a/rules/gdbserver.make
+++ b/rules/gdbserver.make
@@ -18,7 +18,7 @@ PACKAGES-$(PTXCONF_GDBSERVER) += gdbserver
GDBSERVER_VERSION := $(call remove_quotes,$(PTXCONF_GDB_VERSION))
GDBSERVER_MD5 := $(call remove_quotes,$(PTXCONF_GDB_MD5))
GDBSERVER := gdb-$(GDBSERVER_VERSION)
-GDBSERVER_SUFFIX := tar.bz2
+GDBSERVER_SUFFIX := tar.gz
GDBSERVER_SOURCE := $(SRCDIR)/$(GDBSERVER).$(GDBSERVER_SUFFIX)
GDBSERVER_DIR := $(BUILDDIR)/gdbserver-$(GDBSERVER_VERSION)
GDBSERVER_LICENSE := GPLv3+
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
[email protected]