--- binutils-msp430-2.22~msp20120406.orig/debian/README.Debian +++ binutils-msp430-2.22~msp20120406/debian/README.Debian @@ -0,0 +1,4 @@ +To make it possible to have different versions of binutils packages +installed for different targets the local and most common documentation have +been removed from the cross packages. If you want these files aswell you'll +have to install the same version of the native package as of this package. --- binutils-msp430-2.22~msp20120406.orig/debian/binutils-msp430.lintian-overrides +++ binutils-msp430-2.22~msp20120406/debian/binutils-msp430.lintian-overrides @@ -0,0 +1,10 @@ +# "So I would be opposed to making such a change in policy for the time being; +# I think cross-compilers should stick with the traditional cross-compiler +# directories and stay away from the multiarch directories until we have more +# practical experience with multiarch under our belts and can make some +# educated decisions about how we want this to all fit together." +# +# See http://lists.debian.org/<20110430200620.GA14355@virgil.dodds.net> + +binutils-msp430: non-standard-dir-in-usr +binutils-msp430: file-in-unusual-dir --- binutils-msp430-2.22~msp20120406.orig/debian/changelog +++ binutils-msp430-2.22~msp20120406/debian/changelog @@ -0,0 +1,68 @@ +binutils-msp430 (2.22~msp20120406-4) unstable; urgency=medium + + * Update autotools for arm64 (Closes: #727330) + + -- Luca Bruno Sun, 19 Jan 2014 10:38:27 +0100 + +binutils-msp430 (2.22~msp20120406-3) unstable; urgency=medium + + * Do not build info doc (Closes: #712354) + + -- Luca Bruno Mon, 23 Dec 2013 17:38:14 +0100 + +binutils-msp430 (2.22~msp20120406-2) unstable; urgency=low + + * Upload to unstable + + -- Luca Bruno Fri, 18 May 2012 19:17:33 +0200 + +binutils-msp430 (2.22~msp20120406-1) experimental; urgency=low + + * New upstream release + * Using vanilla sources due to upstream and debian binutils + de-synchronization. + + -- Luca Bruno Thu, 10 May 2012 15:14:44 +0200 + +binutils-msp430 (2.22~msp20110716p5-1) unstable; urgency=low + + * Upstream patch-point + + SF 3379341: non-empty ARCH environment variable results unusable ld + + SF 3386145: gc-sections broken in LTS 20110716 + + SF 3143071: error in addend of relocation entry in output + + SF 3400711: consts placed in RAM instead of ROM with -fdata-sections + + SF 3400750: infomemnobits missing from LTS 20110716 + + -- Luca Bruno Sat, 14 Jan 2012 16:54:13 +0100 + +binutils-msp430 (2.21~msp20110716-1) unstable; urgency=low + + * New upstream release + + -- Luca Bruno Mon, 15 Aug 2011 21:14:44 +0200 + +binutils-msp430 (2.21~msp20110421-2) unstable; urgency=medium + + * Loosen build-dep on binutils, due to high-flux uploads + (Closes: #629752) + + -- Luca Bruno Wed, 08 Jun 2011 18:56:40 +0200 + +binutils-msp430 (2.21~msp20110421-1) unstable; urgency=low + + * Upload to Debian Unstable + * Added proper dependency on msp430mcu + + -- Luca Bruno Sat, 28 May 2011 18:22:36 +0200 + +binutils-msp430 (2.21~msp20110421-0exp1) experimental; urgency=low + + * New experimental snapshot + + -- Luca Bruno Thu, 21 Apr 2011 23:34:14 +0200 + +binutils-msp430 (2.21~msp20110414-1) experimental; urgency=low + + * Initial upload to Debian (Closes: #329631) + + -- Luca Bruno Thu, 14 Apr 2011 20:29:27 +0200 --- binutils-msp430-2.22~msp20120406.orig/debian/compat +++ binutils-msp430-2.22~msp20120406/debian/compat @@ -0,0 +1 @@ +5 --- binutils-msp430-2.22~msp20120406.orig/debian/control +++ binutils-msp430-2.22~msp20120406/debian/control @@ -0,0 +1,19 @@ +Source: binutils-msp430 +Section: devel +Priority: extra +Maintainer: Luca Bruno +Standards-Version: 3.9.3 +Build-Depends: autoconf (>= 2.13), bison, flex, gettext, texinfo, + binutils (>= 2.9.5.0.12), gcc (>= 2.95.2), + debhelper (>= 7), tar (>= 1.13.18), bzip2, + findutils(>= 4.2.31), msp430mcu, autotools-dev + +Package: binutils-msp430 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, msp430mcu +Suggests: binutils (>= ${source:Version}) +Description: Binary utilities supporting TI's MSP430 targets + The programs in this package are used to manipulate binary and object + files that may have been created for TI's MSP430 architecture. + This package is primarily intended for MSP430 developers and + cross-compilers. --- binutils-msp430-2.22~msp20120406.orig/debian/copyright +++ binutils-msp430-2.22~msp20120406/debian/copyright @@ -0,0 +1,51 @@ +This is the debian package of the GNU assembler, linker, and binary +utilities compiled for cross development for the msp430 processor. +The patchset was created by Luca Bruno from the git +repository of by the mspgcc project, based on the original +binutils source packages. + +msp430 original changes are available through git +http://mspgcc.git.sourceforge.net/git/gitweb-index.cgi + +Original binutils are available via the binutils-source package +or at ftp://ftp.gnu.org/pub/gnu/binutils/ + +mspgcc patches follow binutils original copyright, as declared by +the author clarifying the license of the patch-set: +http://thread.gmane.org/gmane.comp.hardware.texas-instruments.msp430.gcc.user/9161 + +""" +From: Peter Bigot +Subject: copyright on upstream patches +Date: Sun, 30 Jan 2011 18:30:34 -0600 + +In all the excitement of getting the new version out, I forgot I'd been +asked to provide a header on the patch files that apply to the upstream +distributions (binutils, gcc, gdb) explicitly noting that the material +therein was copyright Free Software Foundation and subject to licensing +restrictions of the upstream distribution (presumably GPL). This is +consistent with everything I've been able to find in the source repositories +from CVS onward. +""" + +GNU Binutils is Copyright © 1990-2011, Free Software Foundation, Inc. + +The entire package is distributed under GPL-3+: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- binutils-msp430-2.22~msp20120406.orig/debian/dirs +++ binutils-msp430-2.22~msp20120406/debian/dirs @@ -0,0 +1,6 @@ +usr/bin +usr/lib + + + + --- binutils-msp430-2.22~msp20120406.orig/debian/patchlist +++ binutils-msp430-2.22~msp20120406/debian/patchlist @@ -0,0 +1 @@ +../msp430-binutils-2.21.1a-20120406.patch --- binutils-msp430-2.22~msp20120406.orig/debian/rules +++ binutils-msp430-2.22~msp20120406/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE = binutils-msp430 +TARGET = msp430 +VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version:.*\(msp.*\)-.*$$/\1/p') + +BUILD_TREE = $(shell find . -maxdepth 1 -mindepth 1 -type d -name 'binutils*') +DEB_BINUTILS = . + +CONFARGS = --prefix=/usr \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) \ + --target=$(TARGET)\ + MAKEINFO=missing \ + --disable-static + + +unpack: unpack-stamp +unpack-stamp: + tar xf $(DEB_BINUTILS)/binutils-*.tar.* + touch unpack-stamp + +patch-stamp: unpack-stamp + cd $(BUILD_TREE) && \ + for upstreamp in `grep -v '^#' $(CURDIR)/debian/patchlist`; \ + do echo; echo Applying patch $$upstreamp; \ + patch -p1 < $(CURDIR)/debian/$$upstreamp; done + touch patch-stamp + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + dh_autotools-dev_updateconfig + cd $(BUILD_TREE) && ./configure $(CONFARGS) + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + cd $(BUILD_TREE) && $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp unpack-stamp patch-stamp + rm -rf $(BUILD_TREE) + dh_autotools-dev_restoreconfig + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + cd $(BUILD_TREE) && \ + $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE)/usr + + # Remove conflicting files + cd debian/$(PACKAGE)/usr && \ + rm -rf lib/libiberty.* lib/libbfd.* lib/libopcodes* \ + include/bfd.h include/ansidecl.h include/bfdlink.h \ + share/locale include/symcat.h include/dis-asm.h \ + info share/info + +binary-indep: install + +binary-arch: install + dh_testdir + dh_testroot + dh_installdocs -n + dh_installman + dh_installchangelogs RELEASES.TXT + dh_lintian + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- binutils-msp430-2.22~msp20120406.orig/debian/source/format +++ binutils-msp430-2.22~msp20120406/debian/source/format @@ -0,0 +1 @@ +1.0