mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] GDB: switch to an available archive type for all releases.
@ 2015-01-13 12:02 Juergen Borleis
  2015-01-14 10:21 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Juergen Borleis @ 2015-01-13 12:02 UTC (permalink / raw)
  To: ptxdist

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 <jbe@pengutronix.de>

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
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-14 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13 12:02 [ptxdist] [PATCH] GDB: switch to an available archive type for all releases Juergen Borleis
2015-01-14 10:21 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox