summaryrefslogtreecommitdiff
path: root/cross/aarch64-none-elf-binutils/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2017-09-01 20:55:37 +0000
committerjmcneill <jmcneill@pkgsrc.org>2017-09-01 20:55:37 +0000
commita1b9c68302a60e978e277cf0e03a4f9865bf1df1 (patch)
tree610248fe4a89bdba866f59f548dbe99d42810243 /cross/aarch64-none-elf-binutils/Makefile
parenta73eee097b41883b1505c270febb5e3bbadffb51 (diff)
downloadpkgsrc-a1b9c68302a60e978e277cf0e03a4f9865bf1df1.tar.gz
Add cross-aarch64-none-elf-binutils version 2.29
Cross binutils for bare metal AArch64 ELF environment.
Diffstat (limited to 'cross/aarch64-none-elf-binutils/Makefile')
-rw-r--r--cross/aarch64-none-elf-binutils/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/cross/aarch64-none-elf-binutils/Makefile b/cross/aarch64-none-elf-binutils/Makefile
new file mode 100644
index 00000000000..d4c32b9b993
--- /dev/null
+++ b/cross/aarch64-none-elf-binutils/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2017/09/01 20:55:37 jmcneill Exp $
+
+DISTNAME= binutils-2.29
+PKGNAME= cross-aarch64-none-elf-${DISTNAME}
+CATEGORIES= cross
+MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= port-arm@NetBSD.org
+HOMEPAGE= # empty
+COMMENT= Cross binutils for bare metal AArch64 ELF
+LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
+
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake makeinfo
+GNU_CONFIGURE= yes
+
+ARMELF_PREFIX= ${PREFIX}/cross-aarch64-none-elf
+
+OBJDIR= ../build
+CONFIGURE_DIRS= ${OBJDIR}
+CONFIGURE_SCRIPT= ${WRKSRC}/configure
+GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX}
+
+CONFIGURE_ARGS+= --disable-werror --target=aarch64-none-elf
+CONFIGURE_ARGS+= --disable-nls
+INFO_FILES= yes
+
+pre-configure:
+ ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+.include "../../mk/bsd.pkg.mk"