diff options
author | mef <mef@pkgsrc.org> | 2014-06-15 23:43:13 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-06-15 23:43:13 +0000 |
commit | e3955d6a7bc45f34701e26b188fee97e2549cc01 (patch) | |
tree | 6a19c994efd3c9803cd7d6115d43ba3e97ffc85f /cross/nios2-binutils/Makefile | |
parent | 298ac58a4603f17171c2a7be6dda17c669605e22 (diff) | |
download | pkgsrc-e3955d6a7bc45f34701e26b188fee97e2549cc01.tar.gz |
(pkgsrc)
Switch from Codesourcery to GNU FSF
(Upstream 2.23.2 to 2.24.0)
- binutils
* Objcopy now supports wildcard characters in command line options that take
section names.
* Add support for Altera Nios II.
- gas
* Add support for the Texas Instruments MSP430X processor.
* Add -gdwarf-sections command line option to enable per-code-section
generation of DWARF .debug_line sections.
* Add support for Altera Nios II.
* Add support for the Imagination Technologies Meta processor.
* Add support for the v850e3v5.
* Remove assembler support for MIPS ECOFF targets.
- ld
* Add LOG2CEIL() builtin function to the linker script language
* Add support for the Texas Instruments MSP430X processor.
* Add support for Altera Nios II.
* Add support for the V850E3V5 architecture.
* Add support for the Imagination Technologies Meta processor.
* --enable-new-dtags no longer generates old dtags in addition to new dtags.
* Remove linker support for MIPS ECOFF targets.
* Add ALIGN_WITH_INPUT to the linker script language to force the alignment of
an output section to use the maximum alignment of all its input sections.
Diffstat (limited to 'cross/nios2-binutils/Makefile')
-rw-r--r-- | cross/nios2-binutils/Makefile | 65 |
1 files changed, 25 insertions, 40 deletions
diff --git a/cross/nios2-binutils/Makefile b/cross/nios2-binutils/Makefile index 718a360f4f9..944c93d5471 100644 --- a/cross/nios2-binutils/Makefile +++ b/cross/nios2-binutils/Makefile @@ -1,49 +1,32 @@ -# $NetBSD: Makefile,v 1.8 2014/05/29 23:35:24 wiz Exp $ -.include "../../cross/nios2/Makefile.common" -PKGNAME= nios2-binutils-${PKG_VERSION} -PKG_VERSION= 2.23 -PKGREVISION= 1 +# $NetBSD: Makefile,v 1.9 2014/06/15 23:43:13 mef Exp $ + +DISTNAME= binutils-2.24 +PKGNAME= ${DISTNAME:S/^/nios2-/} +CATEGORIES= cross +MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org -#HOMEPAGE= +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 -WRKSRC= ${WRKDIR}/binutils-2013.05 - -USE_TOOLS+= ksh gettext gmake makeinfo perl tar automake autoconf gawk -USE_LIBTOOL= yes -USE_LANGUAGES+= c c++ -BUILD_DEFS+= ${NIOS_INFO_DIR} - -CONFIGURE_ARGS+= --disable-nls -# install libiberty by architecture -GNU_CONFIGURE_LIBDIR= ${PREFIX}/${NIOS2_TARGET}/lib - -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -CFLAGS+= -Wno-string-plus-int -Wno-self-assign -.endif - -# To avoid conflict with other cross/native info files, -NIOS_INFO_DIR= ${PREFIX}/info/${NIOS2_TARGET} -.include "../../mk/bsd.prefs.mk" -INFO_DIR?= ${NIOS_INFO_DIR} - -# CONFIGURE_ARGS+= --infodir= -# doesn't make it, will be overridden by following variables -# see mk/configure/gnu-configure.mk -GNU_CONFIGURE_INFODIR= ${NIOS_INFO_DIR} +USE_GNU_CONFIGURE_HOST= no +INFO_FILES= # empty -.include "options.mk" +NIOS2_TARGET= nios2-elf +CONFIGURE_ARGS+= --disable-werror --target=${NIOS2_TARGET} --disable-nls +PLIST_SUBST+= NIOS2_TARGET=${NIOS2_TARGET:Q} -do-extract: - (cd ${WRKDIR}; tar jxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ - sourceryg++-2013.05-43-nios2-linux-gnu/binutils-2013.05-43.tar.bz2;\ - tar jxf sourceryg++-2013.05-43-nios2-linux-gnu/binutils-2013.05-43.tar.bz2;\ - ) +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: @@ -51,8 +34,10 @@ post-install: .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -CONFIGURE_ENV+= PATH=${CROSSBASE}/bin:${PATH} -# ./configure.lineno: 3238: Syntax error: "else" unexpected -# gmake[1]: *** [configure-gas] Error 1 +# ./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 |