All of lore.kernel.org
 help / color / mirror / Atom feed
From: guoren@kernel.org
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	arnout@mind.be
Cc: linux-csky@vger.kernel.org, buildroot@buildroot.org,
	Guo Ren <ren_guo@c-sky.com>
Subject: [PATCH V3 07/10] package/gdb: Add C-SKY support
Date: Wed, 29 May 2019 15:18:45 +0800	[thread overview]
Message-ID: <1559114328-23357-8-git-send-email-guoren@kernel.org> (raw)
In-Reply-To: <1559114328-23357-1-git-send-email-guoren@kernel.org>

From: Guo Ren <ren_guo@c-sky.com>

Add gdb build for C-SKY Architecture:

 - Support host-gdb
 - Support gdbserver for target

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
---
 package/gdb/Config.in.host | 2 ++
 package/gdb/gdb.hash       | 2 ++
 package/gdb/gdb.mk         | 6 ++++++
 3 files changed, 10 insertions(+)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 969168f..76a0eca 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -48,6 +48,7 @@ choice
 	prompt "GDB debugger Version"
 	default BR2_GDB_VERSION_8_1
 	depends on !BR2_arc
+	depends on !BR2_csky
 	help
 	  Select the version of gdb you wish to use.
 
@@ -95,6 +96,7 @@ config BR2_PACKAGE_GDB_NEEDS_CXX11
 config BR2_GDB_VERSION
 	string
 	default "arc-2018.09-release-gdb" if BR2_arc
+	default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
 	default "7.12.1"   if BR2_GDB_VERSION_7_12
 	default "8.0.1"    if BR2_GDB_VERSION_8_0
 	default "8.1.1"    if BR2_GDB_VERSION_8_1 || !BR2_PACKAGE_HOST_GDB
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index 1104da5..90a60b0 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -6,3 +6,5 @@ sha512  2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5
 
 # Locally calculated (fetched from Github)
 sha512  8303e399e396f5c15dc976e48503fc7d45a720dd1a470443f755c5f2458d092b4392e7ae582abc251bc4b43a778ad784f764286a2a05abfc1649cbeeeb6e7d15 	gdb-arc-2018.09-release-gdb.tar.gz
+# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb)
+sha512  c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b	gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index a926961..46d745a 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -14,6 +14,12 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 GDB_FROM_GIT = y
 endif
 
+ifeq ($(BR2_csky),y)
+GDB_SITE = $(call github,c-sky,binutils-gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
+endif
+
 GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+
 GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
 
-- 
2.7.4


WARNING: multiple messages have this Message-ID (diff)
From: guoren at kernel.org <guoren@kernel.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V3 07/10] package/gdb: Add C-SKY support
Date: Wed, 29 May 2019 15:18:45 +0800	[thread overview]
Message-ID: <1559114328-23357-8-git-send-email-guoren@kernel.org> (raw)
In-Reply-To: <1559114328-23357-1-git-send-email-guoren@kernel.org>

From: Guo Ren <ren_guo@c-sky.com>

Add gdb build for C-SKY Architecture:

 - Support host-gdb
 - Support gdbserver for target

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
---
 package/gdb/Config.in.host | 2 ++
 package/gdb/gdb.hash       | 2 ++
 package/gdb/gdb.mk         | 6 ++++++
 3 files changed, 10 insertions(+)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 969168f..76a0eca 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -48,6 +48,7 @@ choice
 	prompt "GDB debugger Version"
 	default BR2_GDB_VERSION_8_1
 	depends on !BR2_arc
+	depends on !BR2_csky
 	help
 	  Select the version of gdb you wish to use.
 
@@ -95,6 +96,7 @@ config BR2_PACKAGE_GDB_NEEDS_CXX11
 config BR2_GDB_VERSION
 	string
 	default "arc-2018.09-release-gdb" if BR2_arc
+	default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
 	default "7.12.1"   if BR2_GDB_VERSION_7_12
 	default "8.0.1"    if BR2_GDB_VERSION_8_0
 	default "8.1.1"    if BR2_GDB_VERSION_8_1 || !BR2_PACKAGE_HOST_GDB
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index 1104da5..90a60b0 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -6,3 +6,5 @@ sha512  2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5
 
 # Locally calculated (fetched from Github)
 sha512  8303e399e396f5c15dc976e48503fc7d45a720dd1a470443f755c5f2458d092b4392e7ae582abc251bc4b43a778ad784f764286a2a05abfc1649cbeeeb6e7d15 	gdb-arc-2018.09-release-gdb.tar.gz
+# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb)
+sha512  c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b	gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index a926961..46d745a 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -14,6 +14,12 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 GDB_FROM_GIT = y
 endif
 
+ifeq ($(BR2_csky),y)
+GDB_SITE = $(call github,c-sky,binutils-gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+GDB_FROM_GIT = y
+endif
+
 GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+
 GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
 
-- 
2.7.4

  parent reply	other threads:[~2019-05-29  7:19 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-29  7:18 [PATCH V3 00/10] Update arch/csky for buildroot guoren
2019-05-29  7:18 ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 01/10] arch/csky: Use VDSP instead of DSP guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:21   ` Thomas Petazzoni
2019-05-29  7:21     ` [Buildroot] " Thomas Petazzoni
2019-05-29  7:30     ` Guo Ren
2019-05-29  7:30       ` [Buildroot] " Guo Ren
2019-05-29  7:56       ` Thomas Petazzoni
2019-05-29  7:56         ` [Buildroot] " Thomas Petazzoni
2019-05-29  8:12         ` Guo Ren
2019-05-29  8:12           ` [Buildroot] " Guo Ren
2019-05-29  8:38           ` Thomas Petazzoni
2019-05-29  8:38             ` [Buildroot] " Thomas Petazzoni
2019-05-29  9:02             ` Guo Ren
2019-05-29  9:02               ` [Buildroot] " Guo Ren
2019-05-29  9:06               ` Guo Ren
2019-05-29  9:06                 ` [Buildroot] " Guo Ren
2019-05-29  9:23               ` Thomas Petazzoni
2019-05-29  9:23                 ` [Buildroot] " Thomas Petazzoni
2019-05-29  9:45                 ` Guo Ren
2019-05-29  9:45                   ` [Buildroot] " Guo Ren
2019-05-29 11:58                   ` Thomas Petazzoni
2019-05-29 11:58                     ` [Buildroot] " Thomas Petazzoni
2019-05-29 12:34                     ` Guo Ren
2019-05-29 12:34                       ` [Buildroot] " Guo Ren
2019-05-29  7:18 ` [PATCH V3 02/10] arch/csky: Add ck860 supported guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 03/10] arch/csky: Add FLOAT_ABI compiler options guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:23   ` Thomas Petazzoni
2019-05-29  7:23     ` [Buildroot] " Thomas Petazzoni
2019-05-29  7:30     ` Guo Ren
2019-05-29  7:30       ` [Buildroot] " Guo Ren
2019-05-29  7:57       ` Thomas Petazzoni
2019-05-29  7:57         ` [Buildroot] " Thomas Petazzoni
2019-05-29  8:30         ` Guo Ren
2019-05-29  8:30           ` [Buildroot] " Guo Ren
2019-05-29  8:39           ` Thomas Petazzoni
2019-05-29  8:39             ` [Buildroot] " Thomas Petazzoni
2019-05-29  8:53             ` Guo Ren
2019-05-29  8:53               ` [Buildroot] " Guo Ren
2019-05-29  7:39     ` Guo Ren
2019-05-29  7:39       ` [Buildroot] " Guo Ren
2019-05-29  7:18 ` [PATCH V3 04/10] arch/csky: Add ABI variable for toolchain build guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 05/10] package/binutils: Add C-SKY support guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 06/10] package/gcc: " guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` guoren [this message]
2019-05-29  7:18   ` [Buildroot] [PATCH V3 07/10] package/gdb: " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 08/10] package/glibc: " guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 09/10] configs/qemu_cskyXXX_virt: new defconfig guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org
2019-05-29  7:18 ` [PATCH V3 10/10] arch/csky: Enable csky toolchain build guoren
2019-05-29  7:18   ` [Buildroot] " guoren at kernel.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559114328-23357-8-git-send-email-guoren@kernel.org \
    --to=guoren@kernel.org \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=linux-csky@vger.kernel.org \
    --cc=ren_guo@c-sky.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.