diff options
author | mef <mef> | 2013-08-07 02:41:30 +0000 |
---|---|---|
committer | mef <mef> | 2013-08-07 02:41:30 +0000 |
commit | 826fca9500555b9e1771d0ed8c5d6d19ac105588 (patch) | |
tree | 0201794040cf837a0dc714009bc98dc941de44c7 /cross/avr-binutils/Makefile | |
parent | 412eca4949d4f5d01a9a93ed0d0befd0ab3e9922 (diff) | |
download | pkgsrc-826fca9500555b9e1771d0ed8c5d6d19ac105588.tar.gz |
(pkgsrc)
patches/patch-aa
(was not to install libiberty) .. removed
patches/patch-ac
(was not to install-recursive under opcodes) .. removed
patches/patch-a[bdefghij]
Added comments (all are as 'Avoid installing info').
Makefile
Added installing libbfd.so libbfd.a bfd.h for simulavr.
Installs libiberty.a as avr/lib/libiberty.a
Installs ansidecl.h and symcat.h for simulavr
(upstream)
Bump Version 2.19.1 to 2.23.2
(From binutils-2.23.2/binutils/NEWS)
---------------------------
Changes in 2.23:
* Add support for the VLE extension to the PowerPC architecture.
* Add support for x64 Windows target of the delayed-load-library.
* Add support for the Renesas RL78 architecture.
Changes in 2.22:
* Add support for displaying the contents of .debug.macro sections.
* Add --preprocessor-arg option to windres to specify additional options
passed to preprocessor.
* Add --dwarf-start and --dwarf-end to readelf and objdump. These are used by
the new Emacs mode, see dwarf-mode.el.
* Add support for the Tilera TILEPro and TILE-Gx architectures.
changes in 2.21:
* Add --interleave-width option to objcopy to allowing copying a range of
bytes from the input to the output with the --interleave option.
* Add support for the TMS320C6000 (TI C6X) processor family.
* Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using
the -u / --unwind option.
* Add --dyn-syms to readelf to dump dynamic symbol table.
* A new tool - elfedit - has been added to directly manipulate ELF format
binaries.
* Add to dlltool .def file feature of aliasing PE internal symbol name by
'== <ID>' option.
* Add a new command line option -a / --addresses to addr2line to display the
address before function name or source filename.
* Add a new command line option -p / --pretty-print to addr2line to have
a more human readable output.
* The hppa/som targets can now be compiled on any host.
Changes in 2.20:
* Add support for delay importing to dlltool. Use the --output-delaylib <file>
switch to create a delay-import library. The resulting app will load the dll
as soon as the first function is called. It will link to __delayLoadHelper2()
from the static delayimp library, which will import LoadLibraryA and
GetProcAddress from kernel32.
* Add a new command line option, --insn-width=WIDTH, to objdump to specify
number of bytes to be displayed on a single line when disassembling
instructions.
* Readelf can now display the relocated contents of a section as a sequence
of bytes via the --relocated-dump=<name|number> command line option.
* The gprof program has been given a new command line option:
--external-symbols-table=<filename> which reads in symbols from a specified
file.
* The plugin target has been added to bfd. It can load the same shared objects
used by gold and uses them to provide basic support for new file formats.
* The verilog memory hex dump file format is now supported as an output format
for objcopy.
* Add --file-alignment, --heap, --image-base, --section-alignment,
--stack and --subsystem command line options to objcopy, which will
set PE optional header.
* Option --dwarf/-W of objdump is now as flexible as readelf --debug-dump/-w.
* --as-needed now links in a dynamic library if it satisfies undefined
symbols in regular objects, or in other dynamic libraries. In the
latter case the library is not linked if it is found in a DT_NEEDED
entry of one of the libraries already linked.
* Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to
add absolute paths for -S.
* Add new option --use-nul-prefixed-import-tables to dlltool to allow fall-
back to old import table generation with null element prefix.
* Added --identify-strict switch to cause --identify <implib> to
report an error when the import library is associated with
multiple DLLs.
* Added --identify <implib> option to dlltool, which determines the
name of the DLL associated with the specified <implib>.
* Support for PowerPC booke64 instructions has been removed. The assembler no
longer accepts -mbooke32 or -mbooke64 and the disassembler no longer accepts
-Mbooke32 or -Mbooke64. Instead, -mbooke and -Mbooke should be used.
Diffstat (limited to 'cross/avr-binutils/Makefile')
-rw-r--r-- | cross/avr-binutils/Makefile | 46 |
1 files changed, 39 insertions, 7 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile index ef701f40498..40ee52cc0b1 100644 --- a/cross/avr-binutils/Makefile +++ b/cross/avr-binutils/Makefile @@ -1,30 +1,62 @@ -# $NetBSD: Makefile,v 1.19 2013/05/31 12:39:46 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2013/08/07 02:41:30 mef Exp $ -DISTNAME= binutils-2.19.1 -PKGNAME= avr-binutils-2.19.1 -PKGREVISION= 2 +DISTNAME= binutils-2.23.2 +PKGNAME= ${DISTNAME:S/^/avr-/} CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers +LICENSE= gnu-gpl-v3 -USE_BZIP2= yes USE_TOOLS+= gmake makeinfo +USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes USE_GNU_CONFIGURE_HOST= no -CONFIGURE_ARGS+= --disable-werror --target=avr +CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls + +AUTO_MKDIRS= yes # Prevent the need to run texi2pod.pl and pod2man hence # the need for perl as build dependency. post-configure: + set -e; \ cd ${WRKSRC}; \ for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi \ gas/doc/as.1; do \ ${TOUCH} $${f}; \ done -.include "../../devel/zlib/buildlink3.mk" +# emulator/simulavr wants libbfd.so or libbfd.a and bfd.h +# --with-bfd=path location of AVR-binutils version of libbfd install +# where include/bfd.h and lib/libbfd.a are found (from binutils) +post-build: + set -e; \ + (cd ${WRKSRC}/bfd; ${GMAKE} all libbfd.a); + +post-install: + # Emulator/simulvar needs library files + (cd ${WRKSRC}/bfd; \ + ${GMAKE} install-exec install-data; \ + ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la ${DESTDIR}${PREFIX}/avr/lib; \ + ${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \ + ) + # Rename to avoid conflict to native and other cross assembler. + # and clang differs its path so, (the same as h8300-elf-binutils). + (cd ${DESTDIR}${PREFIX}; \ + for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; \ + do if [ -f lib/$$d ]; then \ + ${MV} lib/$$d avr/lib/libiberty.a; \ + break; \ + fi; \ + done; ) + # emulator/simulavr wants following header files + (cd ${WRKSRC}/include; \ + for f in ansidecl.h symcat.h; do \ + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \ + done; \ + ) .include "../../mk/bsd.pkg.mk" |