pkgsrc/cross/arm-none-eabi-gdb/Makefile
rillig 1b41af41b8 cross/*: let pkglint autofix indentation and variable alignment
pkglint -Wall -F -r cross

xtensa-esp32-elf-gcc has been manually edited afterwards because when
realigning variable assignments, pkglint only allows one long outlier
line. This package has two long SITES.* lines, therefore pkglint wanted
to indent the variable values much further to the right. This needs to be
fixed in pkglint.
2019-06-08 10:53:26 +00:00

43 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2019/06/08 10:53:26 rillig 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
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= charsetalias
# this theoretically should match check for
# install-exec-localcharset in ${WRKSRC}/gdb/gnulib/import/Makefile.am
.if ${OPSYS} != Darwin
PLIST.charsetalias= yes
.endif
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
post-install:
${RM} ${DESTDIR}${PREFIX}/cross-arm-none-eabi/info/bfd.info
.include "../../mk/bsd.pkg.mk"