From patchwork Thu Mar 26 23:01:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 455234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 591AC14012F for ; Fri, 27 Mar 2015 10:03:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b=qNglOD+o; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A588A3EAA; Thu, 26 Mar 2015 23:03:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fvzS0s5DLXzu; Thu, 26 Mar 2015 23:03:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 96964A3E8F; Thu, 26 Mar 2015 23:03:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E118E1C235D for ; Thu, 26 Mar 2015 23:03:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DC59A92554 for ; Thu, 26 Mar 2015 23:03:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TdPvOsFetcRs for ; Thu, 26 Mar 2015 23:03:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6D9DD92550 for ; Thu, 26 Mar 2015 23:03:25 +0000 (UTC) Received: from asgard (cpe-181-46-99-160.telecentro-reversos.com.ar [181.46.99.160] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.1/8.15.1) with ESMTPSA id t2QN3HGg012606 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 26 Mar 2015 23:03:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1427411002; bh=GfL4RZQCUOolDyASU0DEpARA69EGpEaPyJUvedk1+AM=; h=From:To:Cc:Subject:Date; b=qNglOD+o4B4Z/o8Nu9ueEx9Xd9VRd49Ch8X53hL94lX0TBNxtZkQ7xeROXqLG/k9K QifL++xJ5C9yKsk9zu3c2WKH8+XA5kMDMh7gWKhj0vhSaWDmD2UjF2/Jg8iR4yzwsF oT2XCHPKEI3juhEefQvYjZ9liyPIHoyto3BYgrgw= Received: by asgard (sSMTP sendmail emulation); Thu, 26 Mar 2015 20:01:03 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 26 Mar 2015 20:01:01 -0300 Message-Id: <1427410863-7574-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.0.5 X-Virus-Scanned: clamav-milter 0.98.6 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH 1/3] gdb: add version 7.9 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add gdb version 7.9, and adjust the tarball logic to default to .tar.xz (for 7.8 & 7.9), fall back to .tar.bz2 for 7.7.x and leave the rest alone. Signed-off-by: Gustavo Zacarias --- package/gdb/Config.in.host | 4 ++++ package/gdb/gdb.mk | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index 2a03939..cda9d12 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -37,6 +37,9 @@ choice config BR2_GDB_VERSION_7_8 bool "gdb 7.8.x" + config BR2_GDB_VERSION_7_9 + bool "gdb 7.9.x" + endchoice endif @@ -49,3 +52,4 @@ config BR2_GDB_VERSION default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB default "7.8.2" if BR2_GDB_VERSION_7_8 + default "7.9" if BR2_GDB_VERSION_7_9 diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 58f0631..3ae473f 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -6,6 +6,7 @@ GDB_VERSION = $(call qstrip,$(BR2_GDB_VERSION)) GDB_SITE = $(BR2_GNU_MIRROR)/gdb +GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz ifeq ($(BR2_arc),y) GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(GDB_VERSION)) @@ -19,13 +20,11 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz GDB_FROM_GIT = y endif -# Starting from 7.8.x, bz2 tarballs no longer available, use .tar.xz -# instead. -ifneq ($(filter 7.8.%,$(GDB_VERSION)),) -GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz +# Use .tar.bz2 for 7.7.x since there was no .tar.xz release back then +ifneq ($(filter 7.7.%,$(GDB_VERSION)),) +GDB_SOURCE = gdb-$(GDB_VERSION).tar.bz2 endif -GDB_SOURCE ?= gdb-$(GDB_VERSION).tar.bz2 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+ GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB