diff options
author | ryoon <ryoon> | 2015-10-11 01:14:27 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2015-10-11 01:14:27 +0000 |
commit | 828178f54d103812083ec802945277df9200f7f2 (patch) | |
tree | 07024a7b7e5248feba51c1c6701d2fbc0ba4f4eb /cross | |
parent | ca422b8106c2c422ff879d92d7ca00ecaf1176a5 (diff) | |
download | pkgsrc-828178f54d103812083ec802945277df9200f7f2.tar.gz |
Import cross-arm-none-eabi-binutils-2.25.1 as cross/arm-none-eabi-binutils.
Cross binutils for bare metal ARM EABI environment.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/arm-none-eabi-binutils/DESCR | 1 | ||||
-rw-r--r-- | cross/arm-none-eabi-binutils/Makefile | 31 | ||||
-rw-r--r-- | cross/arm-none-eabi-binutils/PLIST | 60 | ||||
-rw-r--r-- | cross/arm-none-eabi-binutils/distinfo | 6 | ||||
-rw-r--r-- | cross/arm-none-eabi-binutils/patches/patch-gas_configure | 51 |
5 files changed, 149 insertions, 0 deletions
diff --git a/cross/arm-none-eabi-binutils/DESCR b/cross/arm-none-eabi-binutils/DESCR new file mode 100644 index 00000000000..ebca9398a02 --- /dev/null +++ b/cross/arm-none-eabi-binutils/DESCR @@ -0,0 +1 @@ +Cross binutils for bare metal ARM EABI environment. diff --git a/cross/arm-none-eabi-binutils/Makefile b/cross/arm-none-eabi-binutils/Makefile new file mode 100644 index 00000000000..cdd765eb045 --- /dev/null +++ b/cross/arm-none-eabi-binutils/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2015/10/11 01:14:27 ryoon Exp $ + +DISTNAME= binutils-2.25.1 +PKGNAME= cross-arm-none-eabi-${DISTNAME} +CATEGORIES= cross +MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= # empty +COMMENT= Cross binutils for bare metal ARM EABI +LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 + +USE_TOOLS+= gmake makeinfo +GNU_CONFIGURE= yes + +ARMELF_PREFIX= ${PREFIX}/cross-arm-none-eabi + +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} + +.include "../../mk/bsd.pkg.mk" diff --git a/cross/arm-none-eabi-binutils/PLIST b/cross/arm-none-eabi-binutils/PLIST new file mode 100644 index 00000000000..89f3b99814e --- /dev/null +++ b/cross/arm-none-eabi-binutils/PLIST @@ -0,0 +1,60 @@ +@comment $NetBSD: PLIST,v 1.1 2015/10/11 01:14:27 ryoon Exp $ +cross-arm-none-eabi/arm-none-eabi/bin/ar +cross-arm-none-eabi/arm-none-eabi/bin/as +cross-arm-none-eabi/arm-none-eabi/bin/ld +cross-arm-none-eabi/arm-none-eabi/bin/ld.bfd +cross-arm-none-eabi/arm-none-eabi/bin/nm +cross-arm-none-eabi/arm-none-eabi/bin/objcopy +cross-arm-none-eabi/arm-none-eabi/bin/objdump +cross-arm-none-eabi/arm-none-eabi/bin/ranlib +cross-arm-none-eabi/arm-none-eabi/bin/strip +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.x +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xbn +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xc +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xn +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xr +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xs +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xsc +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xsw +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xu +cross-arm-none-eabi/arm-none-eabi/lib/ldscripts/armelf.xw +cross-arm-none-eabi/bin/arm-none-eabi-addr2line +cross-arm-none-eabi/bin/arm-none-eabi-ar +cross-arm-none-eabi/bin/arm-none-eabi-as +cross-arm-none-eabi/bin/arm-none-eabi-c++filt +cross-arm-none-eabi/bin/arm-none-eabi-elfedit +cross-arm-none-eabi/bin/arm-none-eabi-gprof +cross-arm-none-eabi/bin/arm-none-eabi-ld +cross-arm-none-eabi/bin/arm-none-eabi-ld.bfd +cross-arm-none-eabi/bin/arm-none-eabi-nm +cross-arm-none-eabi/bin/arm-none-eabi-objcopy +cross-arm-none-eabi/bin/arm-none-eabi-objdump +cross-arm-none-eabi/bin/arm-none-eabi-ranlib +cross-arm-none-eabi/bin/arm-none-eabi-readelf +cross-arm-none-eabi/bin/arm-none-eabi-size +cross-arm-none-eabi/bin/arm-none-eabi-strings +cross-arm-none-eabi/bin/arm-none-eabi-strip +cross-arm-none-eabi/info/as.info +cross-arm-none-eabi/info/bfd.info +cross-arm-none-eabi/info/binutils.info +cross-arm-none-eabi/info/gprof.info +cross-arm-none-eabi/info/ld.info +cross-arm-none-eabi/man/man1/arm-none-eabi-addr2line.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-ar.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-as.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-c++filt.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-dlltool.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-elfedit.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-gprof.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-ld.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-nlmconv.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-nm.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-objcopy.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-objdump.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-ranlib.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-readelf.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-size.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-strings.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-strip.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-windmc.1 +cross-arm-none-eabi/man/man1/arm-none-eabi-windres.1 diff --git a/cross/arm-none-eabi-binutils/distinfo b/cross/arm-none-eabi-binutils/distinfo new file mode 100644 index 00000000000..51d830ea5cc --- /dev/null +++ b/cross/arm-none-eabi-binutils/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/10/11 01:14:27 ryoon Exp $ + +SHA1 (binutils-2.25.1.tar.bz2) = 1d597ae063e3947a5f61e23ceda8aebf78405fcd +RMD160 (binutils-2.25.1.tar.bz2) = 5756c6163a11964347e32d1b2805e97e74ff5e3f +Size (binutils-2.25.1.tar.bz2) = 24163561 bytes +SHA1 (patch-gas_configure) = bf11398045adc4f8226b5a273caa8bc81d01a0f9 diff --git a/cross/arm-none-eabi-binutils/patches/patch-gas_configure b/cross/arm-none-eabi-binutils/patches/patch-gas_configure new file mode 100644 index 00000000000..b45e5649ef7 --- /dev/null +++ b/cross/arm-none-eabi-binutils/patches/patch-gas_configure @@ -0,0 +1,51 @@ +$NetBSD: patch-gas_configure,v 1.1 2015/10/11 01:14:27 ryoon Exp $ + +https://sourceware.org/bugzilla/show_bug.cgi?id=18994 + +--- gas/configure.orig 2015-07-21 13:42:55.000000000 +0000 ++++ gas/configure +@@ -12331,7 +12331,7 @@ $as_echo "$with_arch" >&6; } + # Decide features one by one. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5 + $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; } +- if test "x${enable_dx_regs}" == xyes; then ++ if test "x${enable_dx_regs}" = xyes; then + + $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h + +@@ -12345,7 +12345,7 @@ $as_echo "$enable_dx_regs" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5 + $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; } +- if test "x${enable_perf_ext}" == xno; then ++ if test "x${enable_perf_ext}" = xno; then + + $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h + +@@ -12359,7 +12359,7 @@ $as_echo "$enable_perf_ext" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5 + $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; } +- if test "x${enable_perf_ext2}" == xno; then ++ if test "x${enable_perf_ext2}" = xno; then + + $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h + +@@ -12373,7 +12373,7 @@ $as_echo "$enable_perf_ext2" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5 + $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; } +- if test "x${enable_string_ext}" == xno; then ++ if test "x${enable_string_ext}" = xno; then + + $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h + +@@ -12387,7 +12387,7 @@ $as_echo "$enable_string_ext" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5 + $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; } +- if test "x${enable_audio_ext}" == xno; then ++ if test "x${enable_audio_ext}" = xno; then + + $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h + |