diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-10-11 01:15:18 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-10-11 01:15:18 +0000 |
commit | d1bffd2e5e82762e07b9ec11e9977a8790e0b7a1 (patch) | |
tree | 538723fbddcb11bd9a12b849f48ee58043f16198 | |
parent | 5570cd2e9e37533c9453d06f442d86240382d7a4 (diff) | |
download | pkgsrc-d1bffd2e5e82762e07b9ec11e9977a8790e0b7a1.tar.gz |
Import cross-arm-none-eabi-gdb-7.10 as cross/arm-none-eabi-gdb.
Cross GDB debugger for bare metal ARM EABI environment.
-rw-r--r-- | cross/arm-none-eabi-gdb/DESCR | 1 | ||||
-rw-r--r-- | cross/arm-none-eabi-gdb/Makefile | 34 | ||||
-rw-r--r-- | cross/arm-none-eabi-gdb/PLIST | 29 | ||||
-rw-r--r-- | cross/arm-none-eabi-gdb/distinfo | 6 | ||||
-rw-r--r-- | cross/arm-none-eabi-gdb/patches/patch-gdb_config_djgpp_djconfig.sh | 13 |
5 files changed, 83 insertions, 0 deletions
diff --git a/cross/arm-none-eabi-gdb/DESCR b/cross/arm-none-eabi-gdb/DESCR new file mode 100644 index 00000000000..90fe1b55776 --- /dev/null +++ b/cross/arm-none-eabi-gdb/DESCR @@ -0,0 +1 @@ +Cross GDB debugger for bare metal ARM EABI environment. diff --git a/cross/arm-none-eabi-gdb/Makefile b/cross/arm-none-eabi-gdb/Makefile new file mode 100644 index 00000000000..ee33945a65f --- /dev/null +++ b/cross/arm-none-eabi-gdb/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2015/10/11 01:15:18 ryoon Exp $ + +DISTNAME= gdb-7.10 +PKGNAME= cross-arm-none-eabi-${DISTNAME} +CATEGORIES= cross +MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= # empty +COMMENT= Cross GDB for bare metal ARM EABI +LICENSE= gnu-gpl-v3 + +ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi + +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes + +OBJDIR= ../build +CONFIGURE_DIRS= ${OBJDIR} +CONFIGURE_SCRIPT= ${WRKSRC}/configure +GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX} + +CONFIGURE_ARGS+= --disable-werror --target=arm-none-eabi +CONFIGURE_ARGS+= --disable-nls +INFO_FILES= yes + +pre-configure: + ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} + +post-install: + ${RM} ${DESTDIR}${PREFIX}/cross-arm-none-eabi/info/bfd.info + +.include "../../mk/bsd.pkg.mk" diff --git a/cross/arm-none-eabi-gdb/PLIST b/cross/arm-none-eabi-gdb/PLIST new file mode 100644 index 00000000000..8ff9c665963 --- /dev/null +++ b/cross/arm-none-eabi-gdb/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1 2015/10/11 01:15:18 ryoon Exp $ +cross-arm-none-eabi/bin/arm-none-eabi-gdb +cross-arm-none-eabi/bin/arm-none-eabi-run +cross-arm-none-eabi/include/gdb/jit-reader.h +cross-arm-none-eabi/info/annotate.info +cross-arm-none-eabi/info/gdb.info +cross-arm-none-eabi/info/stabs.info +cross-arm-none-eabi/lib/charset.alias +cross-arm-none-eabi/lib/libarm-none-eabi-sim.a +cross-arm-none-eabi/man/man1/arm-none-eabi-gdb.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-gdbserver.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-run.1 +cross-arm-none-eabi/man/man5/arm-none-eabi-gdbinit.5 +cross-arm-none-eabi/share/gdb/syscalls/aarch64-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/amd64-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/arm-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/gdb-syscalls.dtd +cross-arm-none-eabi/share/gdb/syscalls/i386-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/mips-n32-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/mips-n64-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/mips-o32-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/ppc-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/ppc64-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/s390-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/s390x-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/sparc-linux.xml +cross-arm-none-eabi/share/gdb/syscalls/sparc64-linux.xml +cross-arm-none-eabi/share/gdb/system-gdbinit/elinos.py +cross-arm-none-eabi/share/gdb/system-gdbinit/wrs-linux.py diff --git a/cross/arm-none-eabi-gdb/distinfo b/cross/arm-none-eabi-gdb/distinfo new file mode 100644 index 00000000000..10f5cca0a98 --- /dev/null +++ b/cross/arm-none-eabi-gdb/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/10/11 01:15:18 ryoon Exp $ + +SHA1 (gdb-7.10.tar.xz) = 95338f65ae9f61ecb76592f2cbe336a7d948b905 +RMD160 (gdb-7.10.tar.xz) = af4ae2437a37570198bc3c0f57fbc343f50d595f +Size (gdb-7.10.tar.xz) = 18540820 bytes +SHA1 (patch-gdb_config_djgpp_djconfig.sh) = 66a75c3670a8391639ba175072a68dd605ebc09b diff --git a/cross/arm-none-eabi-gdb/patches/patch-gdb_config_djgpp_djconfig.sh b/cross/arm-none-eabi-gdb/patches/patch-gdb_config_djgpp_djconfig.sh new file mode 100644 index 00000000000..a077340f31b --- /dev/null +++ b/cross/arm-none-eabi-gdb/patches/patch-gdb_config_djgpp_djconfig.sh @@ -0,0 +1,13 @@ +$NetBSD: patch-gdb_config_djgpp_djconfig.sh,v 1.1 2015/10/11 01:15:18 ryoon Exp $ + +--- gdb/config/djgpp/djconfig.sh.orig 2015-02-19 11:58:07.000000000 +0000 ++++ gdb/config/djgpp/djconfig.sh +@@ -92,7 +92,7 @@ TMPFILE="${TMPDIR-.}/cfg.tmp" + + # We need to skip the build directory if it is a subdirectory of $srcdir, + # otherwise we will have an infinite recursion on our hands... +-if test "`pwd`" == "${srcdir}" ; then ++if test "`pwd`" = "${srcdir}" ; then + SKIPDIR="" + SKIPFILES="" + else |