From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodoros Foradis Subject: [PATCH v3 1/3] gnu: Add gdb-arm-none-eabi. Date: Fri, 28 Oct 2016 20:36:04 +0300 Message-ID: <20161028173606.31099-2-theodoros.for@openmailbox.org> References: <87h97xf19n.fsf@elephly.net> <20161028173606.31099-1-theodoros.for@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0B80-0003lc-Pq for guix-devel@gnu.org; Fri, 28 Oct 2016 13:39:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0B7v-0002EF-VM for guix-devel@gnu.org; Fri, 28 Oct 2016 13:39:40 -0400 Received: from smtp9.openmailbox.org ([62.4.1.43]:55941) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0B7v-0002Dn-PB for guix-devel@gnu.org; Fri, 28 Oct 2016 13:39:35 -0400 In-Reply-To: <20161028173606.31099-1-theodoros.for@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/embedded.scm (gdb-arm-none-eabi): New variable. --- gnu/packages/embedded.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index a7af69f..0b4f9ab 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages cross-base) #:use-module (gnu packages flex) #:use-module (gnu packages gcc) + #:use-module (gnu packages gdb) #:use-module (gnu packages perl) #:use-module (gnu packages texinfo)) @@ -223,3 +224,15 @@ languages are C and C++.") (define-public arm-none-eabi-nano-toolchain-6 (arm-none-eabi-toolchain gcc-arm-none-eabi-6 newlib-nano-arm-none-eabi)) + +(define-public gdb-arm-none-eabi + (package + (inherit gdb) + (name "gdb-arm-none-eabi") + (arguments + `(#:configure-flags '("--target=arm-none-eabi" + "--enable-multilib" + "--enable-interwork" + "--enable-languages=c,c++" + "--disable-nls") + ,@(package-arguments gdb))))) -- 2.10.1