Package: avr-binutils
Version: 2.24
Revision: 3
BuildDepends: fink (>= 0.24.12)
Maintainer: None <fink-devel@lists.sourceforge.net>
Source: mirror:gnu:binutils/binutils-%v.tar.bz2
Source-Checksum: SHA256(e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137)
PatchFile: %n.patch
PatchFile-MD5: c904483a2bd3f1377a4d847a9d02d926 
ConfigureParams: <<
	--target=avr \
	--prefix=%p/share/avr \
	--bindir=%p/bin \
	--mandir=%p/share/man \
	--infodir=%p/share/info \
	--disable-nls \
	--disable-werror
<<

InstallScript: <<
    make install DESTDIR=%d
    rm -fr %i/share/avr/lib/
    rm -fr %i/share/info
<<

DocFiles: README COPYING

Description: GNU binutils for ATMEL AVR micro controllers
DescPort: <<
Removed libiberty.a installation of avr-gcc & avr-binutils.
Avoided using /sw/avr. Its lib & include folders have been moved to /sw/share/avr and the binaries are put into /sw/bin.
Removed xxx.info files to avoid clashes with other potential toolchains.

Patch for ATtiny4, 5, 9, 10, 20, 40 from
https://github.com/arduino/toolchain-avr/blob/master/binutils-patches/52-binutils-2.20.1-avrtiny10.patch

Further patches by Barney Stratford (barney_stratford@fastmail.fm):
- The most significant of the bugs was that the sts and lds instructions come in a shortened 16-bit form on the ATtiny40, 
so I've added them in along with the new reloc that the linker needs.
- I've fixed a bug that was present in the original unmodified  binutils that meant you couldn't use any symbol beginning
with 'r' or 'R' to refer to a register.
- I've added the ability to refer to XL, XH, YL, YH, ZL and ZH by name in addition to their numbers r26 - r31.
- For the addiw and movw instructions, I've added the ability to refer to registers X, Y and Z.
- I've added linker relocs so that you can use external symbols in the in, out, sbic, sbis, sbi and cbi instructions.
<<
DescPackaging: <<
Previous maintainer: Matthias Ringwald <matthias@ringwald.ch>
<<

License: GPL
Homepage: https://www.gnu.org/software/binutils/