gnu: Add gdb-arm-none-eabi.

* gnu/packages/embedded.scm (gdb-arm-none-eabi): New variable.
This commit is contained in:
Theodoros Foradis 2016-10-28 20:36:04 +03:00 committed by David Craven
parent eaf72e218e
commit 94f36a4f5e
No known key found for this signature in database
GPG Key ID: C5E051C79C0BECDB
1 changed files with 13 additions and 0 deletions

View File

@ -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)))))