41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2022/08/22 15:33:32 tnn Exp $
|
|
|
|
DISTNAME= binutils-gdb-xtensa-2.31_20190405
|
|
PKGNAME= ${DISTNAME:C/binutils-gdb-xtensa/xtensa-lx106-elf-binutils/}
|
|
PKGREVISION= 3
|
|
CATEGORIES= cross
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jcmvbkbc/}
|
|
GITHUB_PROJECT= binutils-gdb-xtensa
|
|
GITHUB_TAG= c0b4cd465573f1772927cb3ad5d6e7d17af21622
|
|
|
|
MAINTAINER= bouyer@NetBSD.org
|
|
HOMEPAGE= https://github.com/espressif/binutils-gdb
|
|
COMMENT= Cross binutils for Espressif ESP8266 bare metal environment
|
|
LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
|
|
|
|
INFO_FILES= yes
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake makeinfo perl bison
|
|
|
|
OBJDIR= ../build
|
|
CONFIGURE_DIRS= ${OBJDIR}
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/configure
|
|
GNU_CONFIGURE_PREFIX= ${PREFIX}/xtensa-lx106-elf
|
|
|
|
CONFIGURE_ARGS+= --disable-werror
|
|
CONFIGURE_ARGS+= --target=xtensa-lx106-elf
|
|
CONFIGURE_ARGS+= --enable-multilib
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
CONFIGURE_ARGS+= --disable-gdb
|
|
|
|
# Running tests needs a lot more work anyway
|
|
CHECK_PORTABILITY_SKIP+= gdb/testsuite/Makefile.in
|
|
CHECK_PORTABILITY_SKIP+= sim/testsuite/sim/bfin/run-tests.sh
|
|
|
|
pre-configure:
|
|
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
|
|
${CP} ${FILESDIR}/xtensa-config.h ${WRKSRC}/include/xtensa-config.h
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|