[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / aarch64-none-elf-binutils

File: [cvs.NetBSD.org] / pkgsrc / cross / aarch64-none-elf-binutils / Makefile (download)

Revision 1.4, Fri Mar 20 17:52:42 2020 UTC (10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.3: +5 -4 lines

cross/aarch64-none-elf-binutils: disable configure options check

# $NetBSD: Makefile,v 1.4 2020/03/20 17:52:42 rillig Exp $

DISTNAME=	binutils-2.31.1
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
GNU_CONFIGURE_STRICT=	no # has several sub-configures

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"