blob: f31cf6e9716c80b52e00a93c60ba6cc342ebe0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.10 2014/09/10 12:12:03 joerg Exp $
DISTNAME= binutils-2.24
PKGNAME= ${DISTNAME:S/^/nios2-/}
PKGREVISION= 1
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/binutils/
COMMENT= GNU binutils for Altera FPGA Nios2 processor
LICENSE= gnu-gpl-v3
# No need to use makeinfo - this package doesn't install the documentation.
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_GNU_CONFIGURE_HOST= no
INFO_FILES= # empty
NIOS2_TARGET= nios2-elf
CONFIGURE_ARGS+= --disable-werror --target=${NIOS2_TARGET} --disable-nls
PLIST_SUBST+= NIOS2_TARGET=${NIOS2_TARGET:Q}
USE_CROSSBASE= yes
BUILD_DEFS+= CROSSBASE
PATH:= ${CROSSBASE}/bin:${PATH}
AUTO_MKDIRS= yes
# following file installed is reference only, not used at all for the moment
post-install:
${INSTALL_DATA} files/nios2elf-netbsd.x ${DESTDIR}${PREFIX}/${NIOS2_TARGET}/lib/ldscripts
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# ./configure.lineno: 3239: Syntax error: Missing '}'
# Makefile:2991: recipe for target 'configure-opcodes' failed
# gmake[1]: *** [configure-opcodes] Error 1
# gmake[1]: Leaving directory '/export/WRKOBJDIR/wip/avr-binutils/work/binutils-2.24'
# see avr-binutils
PKGSRC_MAKE_ENV+= SH=/bin/ksh
|