binutils-armel-cross-1.97/0000755000000000000000000000000012247100355012415 5ustar binutils-armel-cross-1.97/debian/0000755000000000000000000000000012247100342013633 5ustar binutils-armel-cross-1.97/debian/control.in0000644000000000000000000000176412155623377015673 0ustar Source: binutils-CROSS_ARCH-cross Section: devel Priority: extra Maintainer: Ubuntu Core developers Standards-Version: 3.9.3 Build-Depends: dpkg-dev (>= 1.13.9), autoconf (>= 2.64), bison, flex, gettext, texinfo, dejagnu (>= 1.4.2-1.1), quilt, file, xz-utils, lsb-release, zlib1g-dev, binutils-source (>= MIN_VER_BINUTILS) Vcs-Browser: http://git.linaro.org/gitweb?p=people/hrw/cross-toolchain-packaging.git;a=shortlog;h=refs/heads/debian/experimental/CROSS_ARCH-cross-toolchain-base Vcs-git: git://git.linaro.org/people/hrw/cross-toolchain-packaging.git Package: binutils-CROSS_GNU_TYPE Architecture: amd64 i386 Depends: binutils, ${shlibs:Depends}, ${misc:Depends} Description: The GNU binary utilities, for CROSS_GNU_TYPE target This package provides GNU assembler, linker and binary utilities for CROSS_GNU_TYPE target, for use in a cross-compilation environment. . You don't need this package unless you plan to cross-compile programs for CROSS_GNU_TYPE. binutils-armel-cross-1.97/debian/copyright0000644000000000000000000002632312045775451015613 0ustar This package was made by Marcin Juszkiewicz . (C) 2010 Linaro These scripts are free software; you can redistribute it and/or modify it under the terms of the Eclipse Public License v1.0. Eclipse Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means: a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor: i) changes to the Program, and ii) additions to the Program; where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. "Contributor" means any person or entity that distributes the Program. "Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. "Program" means the Contributions distributed in accordance with this Agreement. "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. 2. GRANT OF RIGHTS a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. 3. REQUIREMENTS A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: a) it complies with the terms and conditions of this Agreement; and b) its license agreement: i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. When the Program is made available in source code form: a) it must be made available under this Agreement; and b) a copy of this Agreement must be included with each copy of the Program. Contributors may not remove or alter any copyright notices contained within the Program. Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. 4. COMMERCIAL DISTRIBUTION Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. 5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. 6. DISCLAIMER OF LIABILITY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. binutils-armel-cross-1.97/debian/overrides/0000755000000000000000000000000012052416201015633 5ustar binutils-armel-cross-1.97/debian/overrides/binutils-arm-linux-gnueabi0000644000000000000000000000114512045775451022753 0ustar binutils-arm-linux-gnueabi: executable-not-elf-or-script usr/x86_64-linux-gnu/arm-linux-gnueabi/lib/libbfd.la binutils-arm-linux-gnueabi: executable-not-elf-or-script usr/x86_64-linux-gnu/arm-linux-gnueabi/lib/libopcodes.la binutils-arm-linux-gnueabi: non-empty-dependency_libs-in-la-file usr/x86_64-linux-gnu/arm-linux-gnueabi/lib/libbfd.la binutils-arm-linux-gnueabi: non-empty-dependency_libs-in-la-file usr/x86_64-linux-gnu/arm-linux-gnueabi/lib/libopcodes.la binutils-arm-linux-gnueabi: non-standard-dir-in-usr usr/arm-linux-gnueabi/ binutils-arm-linux-gnueabi: non-standard-dir-in-usr usr/x86_64-linux-gnu/ binutils-armel-cross-1.97/debian/changelog0000644000000000000000000010017512247100323015510 0ustar binutils-armel-cross (1.97) trusty; urgency=low * Build-depend on binutils-source (>= 2.24-1~). -- Matthias Klose Mon, 02 Dec 2013 13:44:41 +0100 binutils-armel-cross (1.96) trusty; urgency=low * Build-depend on binutils-source (>= 2.23.52.20131116-0~). -- Matthias Klose Sat, 16 Nov 2013 19:46:37 +0100 binutils-armel-cross (1.95) saucy; urgency=low * Build-depend on binutils-source (>= 2.23.52.20130913-0~). -- Matthias Klose Mon, 07 Oct 2013 17:11:13 +0200 binutils-armel-cross (1.94) saucy; urgency=low * Build-depend on binutils-source (>= 2.23.52.20130722-1~). -- Matthias Klose Mon, 22 Jul 2013 23:23:09 +0200 binutils-armel-cross (1.93) saucy; urgency=low * Build-depend on binutils-source (>= 2.23.52.20130611-1~). -- Matthias Klose Tue, 11 Jun 2013 15:12:26 +0200 binutils-armel-cross (1.91) raring; urgency=low * Build-depend on binutils-source (>= 2.23.2-1ubuntu2). -- Matthias Klose Sat, 30 Mar 2013 10:25:10 +0100 binutils-armel-cross (1.90) raring; urgency=low * Build-depend on binutils-source (>= 2.23.1-0ubuntu10). -- Matthias Klose Fri, 15 Feb 2013 02:09:04 +0100 binutils-armel-cross (1.88) raring; urgency=low * Remove the add-multiarch-dirs-for-linker patch. * Build --with-sysroot=/. LP: #923779. * Build-depend on binutils-source (>= 2.23.1-0ubuntu4). -- Matthias Klose Wed, 05 Dec 2012 09:17:21 +0100 binutils-armel-cross (1.87) raring; urgency=low * Update to current version * Disable -Werror for cross - aarch64 needs it. LP: 1079676 -- Marcin Juszkiewicz Mon, 19 Nov 2012 12:46:01 +0100 binutils-armel-cross (1.86) quantal; urgency=low * Update to current version -- Marcin Juszkiewicz Fri, 21 Sep 2012 13:00:33 +0200 binutils-armel-cross (1.85) quantal; urgency=low * Rebuild against latest toolchain source packages for consistency. -- Marcin Juszkiewicz Mon, 17 Sep 2012 15:09:50 +0200 binutils-armel-cross (1.84) quantal; urgency=low * Update cross binutils to be on same version as native one. * Dropped dependency on g++ cause it is in build-essential. * Dropped duplicate dependency on lsb-release. * Bumped Standards-Version to 3.9.3 -- Marcin Juszkiewicz Wed, 18 Jul 2012 13:55:08 +0200 binutils-armel-cross (1.83) quantal; urgency=low * Move cross binutils to separate source package as this will make armel-cross-toolchain-base (a-c-t-b) arch:all so less building. Also allows to kill a-c-t-b when we will get cross-arch build dependencies. -- Marcin Juszkiewicz Mon, 14 May 2012 12:57:48 +0200 armel-cross-toolchain-base (1.83~rc1) unstable; urgency=low [ Wookey ] * Debian switched to gcc-4.7 so we have to too. [ Marcin Juszkiewicz ] * GCC-4.7 related changes: - added patch to drop --disable-multiarch for stage1 - refreshed enable-multiarch-directories.patch * Dropped creation of /usr/TRIPLET/include/TRIPLET/asm directory under Debian. -- Marcin Juszkiewicz Mon, 16 Apr 2012 08:52:44 +0200 armel-cross-toolchain-base (1.82) precise; urgency=low * Rebuild against latest toolchain source packages for consistency. -- Adam Conrad Mon, 16 Apr 2012 21:47:54 -0600 armel-cross-toolchain-base (1.81) precise; urgency=low * Fixed patch to binutils to make linker use multiarch directories - LP: #923779 * Allow to pass DISTRO variable to make it easier to check Debian/Ubuntu build dependencies. -- Marcin Juszkiewicz Tue, 10 Apr 2012 11:34:13 +0200 armel-cross-toolchain-base (1.80) precise; urgency=low [ Gustavo Alkmim] * Updates to make package building under Debian. * Copy multiarch headers to standard directory to fix build-eglibc stages. [ Marcin Juszkiewicz ] * Bumped gcc-4.6 requirement to 4.6.2-16 (due to patches merged). * Refreshed Ubuntu and Debian patches. * Debian only changes: - Automated checking of Linux version (idea from Gustavo). - Fixed 'build-linux' step for armhf target - clean tmp/ directory after 'build-linux' step to not break other packages. * Added patch to binutils to make linker use multiarch directories - LP: #923779 -- Marcin Juszkiewicz Fri, 06 Apr 2012 10:38:19 +0200 armel-cross-toolchain-base (1.79) precise; urgency=low * Rebuild with gcc 4.6.3 -- Marcin Juszkiewicz Thu, 08 Mar 2012 16:30:09 +0100 armel-cross-toolchain-base (1.78) precise; urgency=low * Updated gcc-4.6 dependency to 4.6.2-14ubuntu2 to get fixed debian/control.m4 * Updated Debian build * Fixed multiarch directories patch. * Updated kernel version to 3.2 * eglibc: refreshed patches to 2.15 -- Marcin Juszkiewicz Thu, 16 Feb 2012 18:16:08 +0100 armel-cross-toolchain-base (1.77) precise; urgency=low * Fixed paths for eglibc/stage1 - binaries moved from /lib to /usr/lib/triplet/ * Added build-gcc3 stamp to get libgcc1_s.so depending properly on libc.so.6 - closes LP: #805581 * Added hacky fix for debian/control generation - LP: #913734 * Use all cpu cores during build of gcc. * PPA updates: - take care of linux-source dependency too - bumped versions * Debian updates: - rules: updated versions and handling of linux step under Debian - control: added lsb-release to build dependencies - eglibc: refreshed stages under Debian - linux: apply patches under Debian * removed code duplication for unpacking binutils * gcc: dropped merged patches * eglibc: refreshed patches * eglibc: disabled dh_shlibdeps as build was unable to find libraries dependencies * eglibc: dropped one patch as cross is using fortify now -- Marcin Juszkiewicz Wed, 18 Jan 2012 08:03:12 +0100 armel-cross-toolchain-base (1.76) precise; urgency=low * Bumped gcc-4.6 dependency to 4.6.2-6 as it got lot of my changes merged: - make cross compilers depend on gcc-cross-base package - closes LP: #862436 - enable hardening patches for cross builds - closes LP: #868924 - do not remove gcc cross in 'install-driver' step - closes LP: #877333 - fix usr_lib for hf/sf build - closes LP: #887111 * Added new patches for eglibc: - disable fortify for cross builds - set LD_LIBRARY_PATH for dh_shlibdeps (local, not mergeable) * Dropped build time dependencies on gcc/g++ 4.5. * Added "init" task for testing patches. * Disabled "|true" in quilt so it is easier to catch broken patches. * Disabled patching linux-source as there are no patches for it. * Dropped binutils patches as they got merged. * Added /usr/arm-linux-gnueabihf/lib/sf symlink to libc6-dev-armel-cross. -- Marcin Juszkiewicz Mon, 12 Dec 2011 21:34:01 +0100 armel-cross-toolchain-base (1.75) oneiric; urgency=low * Refreshed eglibc patches which should fix not reproductible FTFBS - closes LP: #864591 -- Marcin Juszkiewicz Mon, 03 Oct 2011 13:16:15 +0200 armel-cross-toolchain-base (1.74) oneiric; urgency=low * Created dummy libc6-arm(el|hf)-arm(hf|el)-cross packages. * Added PKG_IGNORE_CURRENTLY_BUILDING=1 to each dpkg-deb -b call. -- Marcin Juszkiewicz Thu, 29 Sep 2011 15:42:41 +0200 armel-cross-toolchain-base (1.73) oneiric; urgency=low * Documented changes done by repack_debs function. * Created dummy libc6-dev-arm(el|hf)-arm(hf|el)-cross packages to make multilib cross compiler possible. * libc6-dev-armhf-cross ships symlink to /usr/arm-linux-gnueabi/lib/hf for multilib cross compiler. * Added dpkg to list of ignored dependencies while dpkg-crossing packages - libc6-dbg has it in Pre-Depends. -- Marcin Juszkiewicz Mon, 26 Sep 2011 20:44:54 +0200 armel-cross-toolchain-base (1.72) oneiric; urgency=low * Integrated changes from PPA builds: - use fakeroot for eglibc builds - fixed mangling of versions in debian/control - added EXTRA_DEPS to get rid of gcc-4.5 dependency - lower dpkg dependency to 1.15.5 * Bumped dependency on gcc-4.6 to 4.6.1-6 (patches got merged) * Refreshed eglibc patches for PPA: - new languages were added - do not move headers for non-multiarch builds - drop Multi-Arch: fields from debian/control for PPA builds * Depend on unversioned 'linux-source' package - closes LP: #827026 * rewrote lintian overrides support for cross compilation files - closes LP: #798991, #760421 * patched binutils to get rid of lintian warnings - closes LP: #760420 * made some functions quiet * added "|true" to quilt invocations to make them work for empty series * Debian support related changes: - refreshed eglibc patches - rewrote build-linux step - closes #611382 -- Marcin Juszkiewicz Fri, 26 Aug 2011 10:58:06 +0200 armel-cross-toolchain-base (1.71) oneiric; urgency=low * Require dpkg-cross 2.6.5 (build fails due to missing dependencies on Locale/gettext.pm otherwise) -- Marcin Juszkiewicz Thu, 28 Jul 2011 15:49:07 +0200 armel-cross-toolchain-base (1.70) oneiric; urgency=low * Rebuild to keep up with Linaro 2011.07 release. * Use patches from LP: 816852 to disable multilib in gcc build - we bootstrap compiler so we lack any libraries and want to build one arch at time * Hack eglibc to remove armhf multilib from armel build. * Add build-arch and build-indep makefile targets to debian/rules * Updated components versions for PPA builds -- Marcin Juszkiewicz Thu, 28 Jul 2011 11:47:10 +0200 armel-cross-toolchain-base (1.69) oneiric; urgency=low * Rebuild to keep up with Linaro 2011.06 release. * Updated components versions for PPA builds * Fixed dir to gcc patches -- Marcin Juszkiewicz Fri, 24 Jun 2011 08:53:43 +0200 armel-cross-toolchain-base (1.68) oneiric; urgency=low * Update to use linux-source-3.0 instead of linux-source-2.6.39 one. -- Marcin Juszkiewicz Mon, 13 Jun 2011 15:09:20 +0200 armel-cross-toolchain-base (1.67) oneiric; urgency=low * Rebuild to keep up with gcc-4.6 version - LP: #794534 -- Marcin Juszkiewicz Wed, 08 Jun 2011 15:51:13 +0200 armel-cross-toolchain-base (1.66) oneiric; urgency=low * Added submitted-armhf-triplet patch from Debian eglibc svn r4648 to fix armhf compilation. -- Marcin Juszkiewicz Fri, 03 Jun 2011 17:36:09 +0200 armel-cross-toolchain-base (1.65) oneiric; urgency=low * rebuild due to version difference between gcc-4.6-armel-cross and this one which ends in uninstallable packages -- Marcin Juszkiewicz Thu, 02 Jun 2011 15:52:38 +0200 armel-cross-toolchain-base (1.64) oneiric; urgency=low * First release for Ubuntu 'oneiric' 11.10: * synced versions with Debian - gcc 4.6 - eglibc 2.13 * linux 2.6.39 used for Ubuntu * added gcc-4.5 as it isrequired for eglibc (switch to 4.6 not before 2.14 release according to Matthias Klose) * dropped merged patches from gcc and binutils * renamed patches/gcc-4.5 to unversioned patches/gcc * added lintian overrides for cross compilation files * Debian changes: * refreshed eglibc patches * dropped eglibc packaging information and bumped dependency to 2.13-5 for it -- Marcin Juszkiewicz Mon, 30 May 2011 14:20:39 +0200 armel-cross-toolchain-base (1.63) natty; urgency=low [Marcin Juszkiewicz] * fix lintian errors: - shlib-with-executable-bit - LP: #760420 - arch-independent-package-contains-binary-or-object - LP: #760421 * fix repack-debs-indep step * generate md5sums for each mangled package [Steve McIntyre] * drop hardcoded 'armel' from rules - LP: #761613 -- Marcin Juszkiewicz Fri, 15 Apr 2011 13:29:09 +0200 armel-cross-toolchain-base (1.62) natty; urgency=low * Fixed build to work with co-installable (multiarched) linux-libc-dev headers. LP: #750585. * Added copyright, changelog files into eglibc and linux cross packages LP: #755329 * Changed dependencies from -1 -> -1~ to make lintian more happy. * Debian changes: - switched to gcc 4.6 under Debian - moved definition of GCC versions to distro parts - gcc-4.6: disable libquadmath for stages - sent for review/merge - fixed minimal version of binutils to Debian one - moved to 2.6.38 kernel - refreshed linux and eglibc patches - updated copy of linux-2.6 packaging to 2.6.38-3 * add overrides for -cross packages to make lintian more happy - LP: #760421 * fix repack-debs-indep step * generate md5sums for each mangled package -- Marcin Juszkiewicz Thu, 14 Apr 2011 11:22:32 +0200 armel-cross-toolchain-base (1.61build1) natty; urgency=low * No-change rebuild against current gcc-4.5-source. -- Steve Langasek Tue, 12 Apr 2011 07:11:08 -0700 armel-cross-toolchain-base (1.61) natty; urgency=low * "Say good bye to update-alternatives" release * switch to symlinks for default cross gcc version - LP: #676454 - this will require newer gcc-defaults-armel-cross release - bumped gcc-4.5-source dependency to 4.5.2-8~ * added 'init' task into debian/rules to make testing does patches apply easier * added section for libc6-dev-armel-cross because dpkg-cross 2.6.0+ keeps section instead of overwriting * dropped all patches which were merged into binutils and gcc-4.5 * refreshed eglibc patches to apply - LP: #749180 * added patch to eglibc to revert 2.13-0ubuntu10 change: "* Provide compatibility symlinks for .o files in /usr/lib. LP: #744908." this is needed for native builds but not for current cross -- Marcin Juszkiewicz Mon, 04 Apr 2011 11:57:12 +0200 armel-cross-toolchain-base (1.60) natty; urgency=low * multiarch related changes - require dpkg-cross 2.6.3 to handle multiarch packages - LP: #736154 and LP: #739151 - require dpkg 0.16.0 for working dpkg-shlibdeps * gcc-4.5 patches: - disabled build of plugin-dev * merged Steve Langasek changes (1.59) - Fix up build to work with current eglibc debian/rules. * changes related to pkgsym ddebs: - clean step removes a bit more - *.ddeb & debian/files - rules: use wildcard instead of listing files to mangle - create -dbgsym package and strip libraries - LP: #711523 - files from gcc/debian/gcc-4.5-*-base dir are used as we do not have gcc-4.5-*-base package anymore * Merged Debian/Ubuntu/Linaro backport PPA rules - downgraded build-dependencies to Debian level (where possible) - separate patches for eglibc/Debian and eglibc/Ubuntu - fixed handling of eglibc and gcc documentation in Debian - backported some patches from eglibc/Ubuntu to eglibc/Debian - stages support - PATCHED_SOURCES support - backported some patches from linux/Ubuntu to linux/Debian - stages support - use separate 'series' files for patches/linux and patches/eglibc - dropped eglibc/lucid-force-gcc-4.4.patch as it is integrated in eglibc backport - switched to quilt for patching eglibc (.pc dir is removed after patching) - PPA build can be enabled by touching debian/ppa file * moved code which installs gcc into common function * dropped binutils patch which was needed for 2.21 (bumped to 2.21.0.20110216) * dropped code to regenerate debian/control - it was buggy and never finished * added new rule to generate debian/control file (handles Debian and Ubuntu for now) -- Marcin Juszkiewicz Tue, 29 Mar 2011 11:13:35 +0200 armel-cross-toolchain-base (1.59) natty; urgency=low * Fix up build to work with current eglibc debian/rules. -- Steve Langasek Sat, 26 Feb 2011 18:10:27 -0800 armel-cross-toolchain-base (1.58+build1) natty; urgency=low * No-change rebuild against current gcc-4.5. -- Steve Langasek Sat, 26 Feb 2011 15:21:14 -0800 armel-cross-toolchain-base (1.58) natty; urgency=low * update to use 2.6.38 kernel -- Marcin Juszkiewicz Mon, 31 Jan 2011 13:39:56 +0100 armel-cross-toolchain-base (1.57) natty; urgency=low * use PKG_IGNORE_CURRENTLY_BUILDING instead of NO_PKG_MANGLE to allow to generate .ddebs * control: remove alternatives dependencies - they are PPA backports only * control: re-added Vcs-* entries * merged changes from PPA backport: - depend on dpkg-cross >= 2.5.8 to get rid of double Provides: lines (lucid problem) - binutils: (re-)apply patch from Ubuntu to fix FTFBS (needed only for PPA, fails to apply in natty but we can ignore that) - rules: use gcc 4.4 to build eglibc (lucid lacks gcc-4.5) - rules: handle PPA versions of this package in DEB_VER_ACT variable - rules: bumped hardcoded component versions to recent one -- Marcin Juszkiewicz Wed, 26 Jan 2011 14:38:34 +0100 armel-cross-toolchain-base (1.56) natty; urgency=low * Rebuild with gcc 4.5.2 -- Marcin Juszkiewicz Tue, 21 Dec 2010 10:44:17 +0100 armel-cross-toolchain-base (1.55) natty; urgency=low * Updated build dependencies: - binutils 2.21 as gold-cross.patch got merged - LP: #686530 - gcc-4.5 4.5.1-12 as armv7a optimizations patch got merged - LP: #684625 -- Marcin Juszkiewicz Tue, 14 Dec 2010 10:31:43 +0100 armel-cross-toolchain-base (1.54) natty; urgency=low * merged support to build for PPA backport - PPA=true means build is for PPA - other version of patch for eglibc will be used - versioned binutils/eglibc/gcc-4.5 releases will be used - set exact versions of binutils/eglibc/gcc - linux-source is not covered by PPA variable because it has different name for each release * binutils: enable gold to match native build - LP: #686530 * gcc: use armv7a optimizations - LP: #684625 * gcc-4.5: do not use gold for stage1/2 builds * updated build dependencies: - g++-4.4 is required for binutils to build gold - binutils/eglibc/gcc-4.5 deps can be provided by PPA backports - lowered build dependencies to lucid level to make backports easier -- Marcin Juszkiewicz Tue, 07 Dec 2010 15:07:42 +0100 armel-cross-toolchain-base (1.53) natty; urgency=low [ Michael Hope ] * fixed build for non-standard PF. [ Marcin Juszkiewicz ] * added binutils-arm-linux-gnueabi to build-conficts as we need binutils which know what sysroot is during build. * added fakeroot dependency * dropped g++-multilib dependency - closes LP: #637454 * updated to natty versions - dropped binutils patch as it got merged in natty (bumped binutils dependency) * use gcc-4.4 to compile binutils and eglibc (update to gcc-4.5 is on todolist) * do not copy gcc patches anymore as this is symlink to debian/patches -- Marcin Juszkiewicz Thu, 25 Nov 2010 13:28:34 +0100 armel-cross-toolchain-base (1.52) maverick-proposed; urgency=low * build binutils without sysroot support - closes LP: #598389 -- Marcin Juszkiewicz Wed, 06 Oct 2010 14:46:16 +0200 armel-cross-toolchain-base (1.51) maverick; urgency=low * debian/rules: add epoch for libgcc1-dbg version mangling - closes LP: #646729 -- Marcin Juszkiewicz Wed, 06 Oct 2010 14:45:04 +0200 armel-cross-toolchain-base (1.50) maverick; urgency=low * mangle linux-libc-dev version to have crossVER added -- Marcin Juszkiewicz Wed, 22 Sep 2010 08:48:30 +0200 armel-cross-toolchain-base (1.49) maverick; urgency=low * fix problem with translations archive -- Marcin Juszkiewicz Tue, 21 Sep 2010 21:16:45 +0200 armel-cross-toolchain-base (1.48) maverick; urgency=low [ Marcin Juszkiewicz ] * mangle versions to have crossVER added * do not generate gcc-4.5-*-base package * mangle libgcc1 to not need gcc-4.5-*-base and keep its documentation * libgcc1 keeps changelog of this package * use only generated debs for mangling debian/control debian/files - closes LP: #640298 * adapt to recent change in linux-libc-dev version numbering [ Steve Langasek ] * make sure libgcc1-CROSS-dbg keeps a strict versioned dependency on libgcc1-CROSS * debian/rules: misc code deduplication in repack_debs -- Steve Langasek Mon, 20 Sep 2010 22:11:03 +0000 armel-cross-toolchain-base (1.47) maverick; urgency=low * This package is part of LP: #634494 * Fixed DEB_NAME_ACT so it will not fail with "duplicated ancestry". * control: cleaned build dependencies (with help from Matthias Klose) * build binutils without checking dependencies - dejagnu is not needed for cross build * bump gcc-4.4/4.5 requirements, drop merged patches -- Marcin Juszkiewicz Mon, 13 Sep 2010 16:35:56 +0200 armel-cross-toolchain-base (1.46) maverick; urgency=low * Making improvements to package to get it accepted into Ubuntu. - added copyright informations - source/format: set to 3.0 (native) - added README.source with informations how package works - fixed linux-source dependency * debian/control changes: - generated new one with all build dependencies cleaned - added entries for generated packages - added Vcs- fields - removed regeneration of debian/control during build - set Priority to extra - set "Section: debug" for all -dbg packages * debian/rules: - dropped version mangling which was needed in ppa - dropped using architecture name from rules - use quilt to apply patches for gcc (for eglibc it generated conflicts during it's "debian/rules clean" step) - use "tar -xf" and depend on tar 1.20+ * GCC changes: - updated gcc debian/control.m4 patch to fix all priority and section fields - all GCC patches are merged and will be present in next versions of gcc-4.4/4.5 -- Marcin Juszkiewicz Fri, 10 Sep 2010 16:16:00 +0200 armel-cross-toolchain-base (1.45) maverick; urgency=low * first set of changes to get it accepted in archive -- Marcin Juszkiewicz Thu, 09 Sep 2010 15:51:38 +0200 armel-cross-toolchain-base (1.44) maverick; urgency=low * switch version mangling to use '-ppa' in a-c-t-b and a-c-t -- Marcin Juszkiewicz Wed, 08 Sep 2010 09:35:08 +0200 armel-cross-toolchain-base (1.43) maverick; urgency=low * mangle dependencies in packages -- Marcin Juszkiewicz Tue, 07 Sep 2010 15:49:06 +0200 armel-cross-toolchain-base (1.42) maverick; urgency=low * fix versions also inside of package * joined step which mangle debian files -- Marcin Juszkiewicz Tue, 07 Sep 2010 13:55:39 +0200 armel-cross-toolchain-base (1.41) maverick; urgency=low * generate debian/files from mangled packages - dpkg-genchanges works properly * created some functions instead of duplication of code * generation of debian/files * generation of debian/control * repacking debs -- Marcin Juszkiewicz Tue, 07 Sep 2010 12:25:04 +0200 armel-cross-toolchain-base (1.40) maverick; urgency=low * working version of version mangling -- Marcin Juszkiewicz Tue, 07 Sep 2010 10:40:29 +0200 armel-cross-toolchain-base (1.39) maverick; urgency=low * added mangling of versions to pass LP upload scripts -- Marcin Juszkiewicz Mon, 06 Sep 2010 16:24:28 +0200 armel-cross-toolchain-base (1.38) maverick; urgency=low * apply fix for LP: 631474 (wrong name of gcc-4.5-plugin-dev package) * drop not needed "-nc" switch from eglibc build -- Marcin Juszkiewicz Mon, 06 Sep 2010 13:25:14 +0200 armel-cross-toolchain-base (1.37) maverick; urgency=low * there is no build-indep anymore * do not rebuild eglibc - fix from Steve Langasek * gcc patch got merged - drop it * updated dependencies on gcc-4.5-source and eglibc-source -- Marcin Juszkiewicz Mon, 06 Sep 2010 10:52:44 +0200 armel-cross-toolchain-base (1.36) maverick; urgency=low * fixed missing 'build-arch' target -- Marcin Juszkiewicz Fri, 03 Sep 2010 17:28:38 +0200 armel-cross-toolchain-base (1.35) maverick; urgency=low * eglibc no longer needs to be patched for stages support -- Marcin Juszkiewicz Fri, 03 Sep 2010 16:51:26 +0200 armel-cross-toolchain-base (1.34) maverick; urgency=low * gcc-*-base is ARCH not all -- Marcin Juszkiewicz Fri, 03 Sep 2010 16:22:32 +0200 armel-cross-toolchain-base (1.33) maverick; urgency=low * Version bump. -- Marcin Juszkiewicz Fri, 03 Sep 2010 12:39:55 +0200 armel-cross-toolchain-base (1.32) maverick; urgency=low * binary-arch builds only binutils - rest is binary-indep -- Marcin Juszkiewicz Fri, 03 Sep 2010 10:38:31 +0200 armel-cross-toolchain-base (1.31) maverick; urgency=low * split $ARCH and arch:all packages work into separate steps * marked as x86(-64) only -- Marcin Juszkiewicz Thu, 02 Sep 2010 17:39:34 +0200 armel-cross-toolchain-base (1.30) maverick; urgency=low * Another change of binary targets -- Marcin Juszkiewicz Thu, 02 Sep 2010 15:57:50 +0200 armel-cross-toolchain-base (1.29) maverick; urgency=low * Decided to go other way to give 'proper' source line in resulting packages: * repack all resulting debs to give them "proper" source line * kill all sed hacks * added DEB_VER_ACT which keeps ver of this package * set me as maintainer * added empty binary-arch -- Marcin Juszkiewicz Thu, 02 Sep 2010 14:37:52 +0200 armel-cross-toolchain-base (1.28) maverick; urgency=low * eglibc: debian/control is generated - sed one more file * fix rules dependencies -- Marcin Juszkiewicz Tue, 31 Aug 2010 18:20:46 +0200 armel-cross-toolchain-base (1.27) maverick; urgency=low * new var: DO_SED_HACKS to allow skipping sed hacks from 1.26 -- Marcin Juszkiewicz Tue, 31 Aug 2010 15:30:44 +0200 armel-cross-toolchain-base (1.26) maverick; urgency=low * hack components to have 'armel-cross-toolchain-base' as Source in resulting packages -- Marcin Juszkiewicz Tue, 31 Aug 2010 15:03:47 +0200 armel-cross-toolchain-base (1.25) maverick; urgency=low * use DEB_LIST to keep list of resulting packages -- Marcin Juszkiewicz Tue, 31 Aug 2010 12:12:58 +0200 armel-cross-toolchain-base (1.24) maverick; urgency=low * Package gcc-*-base with stage2 -- Marcin Juszkiewicz Tue, 31 Aug 2010 10:59:15 +0200 armel-cross-toolchain-base (1.23) maverick; urgency=low * Added texi2html dependency - needed by eglibc. -- Marcin Juszkiewicz Mon, 30 Aug 2010 12:30:53 +0200 armel-cross-toolchain-base (1.22) maverick; urgency=low * Added target libraries to LD_LIBRARY_PATH for dpkg-shlibdeps * Build gcc-*-base from gcc/stage2 -- Marcin Juszkiewicz Mon, 30 Aug 2010 11:42:53 +0200 armel-cross-toolchain-base (1.21) maverick; urgency=low * More build dependencies -- Marcin Juszkiewicz Fri, 27 Aug 2010 16:28:16 +0200 armel-cross-toolchain-base (1.20) maverick; urgency=low * Use gcc 4.5 by default. -- Marcin Juszkiewicz Fri, 27 Aug 2010 12:45:14 +0200 armel-cross-toolchain-base (1.19) maverick; urgency=low * Use plain Ubuntu packages and apply patches when needed. -- Marcin Juszkiewicz Thu, 26 Aug 2010 15:59:24 +0200 armel-cross-toolchain-base (1.18) maverick; urgency=low * Package libgcc1 in gcc/stage2 -- Marcin Juszkiewicz Thu, 26 Aug 2010 15:46:09 +0200 armel-cross-toolchain-base (1.17) maverick; urgency=low * Split to armel-cross-toolchain-base (binutils, eglibc, linux-headers) and armel-cross-toolchain (gcc/stage3). -- Marcin Juszkiewicz Thu, 26 Aug 2010 11:58:33 +0200 armel-cross-toolchain (1.16) maverick; urgency=low * New code for generating debian/files from -armel-cross packages. * Removed copying of linux/debian/{control,files} as we need only linux-libc-dev which gets converted with dpkg-cross. -- Marcin Juszkiewicz Mon, 23 Aug 2010 15:16:37 +0200 armel-cross-toolchain (1.15) maverick; urgency=low * Updated to versions with my changes applied. -- Marcin Juszkiewicz Mon, 23 Aug 2010 10:43:28 +0200 armel-cross-toolchain (1.14) maverick; urgency=low * Bumped gcc-4.4-source to newer patchset. -- Marcin Juszkiewicz Wed, 11 Aug 2010 17:33:33 +0200 armel-cross-toolchain (1.13) maverick; urgency=low * Eglibc/stage2 tried to use Linux headers from /usr/arm-linux-gnueabi/ -- Marcin Juszkiewicz Tue, 10 Aug 2010 17:30:40 +0200 armel-cross-toolchain (1.12) maverick; urgency=low * Remove most of eglibc/localesdata from list of generated ones. -- Marcin Juszkiewicz Tue, 10 Aug 2010 16:11:36 +0200 armel-cross-toolchain (1.11) maverick; urgency=low * Eglibc tried to use Linux headers from /usr/arm-linux-gnueabi/ -- Marcin Juszkiewicz Tue, 10 Aug 2010 13:29:33 +0200 armel-cross-toolchain (1.10) maverick; urgency=low * Fixed build-eglibc1 deps -- Marcin Juszkiewicz Tue, 10 Aug 2010 12:37:10 +0200 armel-cross-toolchain (1.9) maverick; urgency=low * Fixed build-eglibc1 patch problem. -- Marcin Juszkiewicz Tue, 10 Aug 2010 12:35:10 +0200 armel-cross-toolchain (1.8) maverick; urgency=low * Made init-eglibc really stampless. * Fixed build-eglibc1 arch problem. -- Marcin Juszkiewicz Tue, 10 Aug 2010 11:05:10 +0200 armel-cross-toolchain (1.7) maverick; urgency=low * Added NO_PKG_MANGLE=1 as I build other source packages. * init-eglibc is stampless as eglibc provides patched source -- Marcin Juszkiewicz Sun, 08 Aug 2010 18:55:10 +0200 armel-cross-toolchain (1.6) maverick; urgency=low * Added build-depends from binutils, eglibc, gcc-4.4, linux. -- Marcin Juszkiewicz Sun, 08 Aug 2010 18:15:50 +0200 armel-cross-toolchain (1.5) maverick; urgency=low * Few more fixes -- Marcin Juszkiewicz Sun, 08 Aug 2010 17:17:56 +0200 armel-cross-toolchain (1.4) maverick; urgency=low * Create stamp dir... -- Marcin Juszkiewicz Fri, 06 Aug 2010 16:56:57 +0200 armel-cross-toolchain (1.3) maverick; urgency=low * Introduced lot of variables which keep versions. Values are taken from components changelog files. -- Marcin Juszkiewicz Fri, 06 Aug 2010 16:56:57 +0200 armel-cross-toolchain (1.2) maverick; urgency=low * Fix build dependencies. -- Marcin Juszkiewicz Fri, 06 Aug 2010 12:31:43 +0200 armel-cross-toolchain (1.1) maverick; urgency=low * Fixed few lintian problems. -- Marcin Juszkiewicz Fri, 06 Aug 2010 11:05:59 +0200 armel-cross-toolchain (1.0) maverick; urgency=low * Initial packaging -- Marcin Juszkiewicz Thu, 05 Aug 2010 13:35:45 +0200 binutils-armel-cross-1.97/debian/patches/0000755000000000000000000000000012052415521015264 5ustar binutils-armel-cross-1.97/debian/patches/series0000644000000000000000000000007412045775451016517 0ustar # just for lintian - subdirectories are used for components binutils-armel-cross-1.97/debian/patches/binutils/0000755000000000000000000000000012107305507017120 5ustar binutils-armel-cross-1.97/debian/patches/binutils/series0000644000000000000000000000001512107305507020331 0ustar # empty file binutils-armel-cross-1.97/debian/patches/gcc-4.7/0000755000000000000000000000000012052415521016326 5ustar binutils-armel-cross-1.97/debian/patches/gcc-4.7/drop-svn-doc-updates.diff0000644000000000000000000000101612052414717023142 0ustar Applying patch svn-doc-updates.diff patch: **** Only garbage was found in the patch input. Patch svn-doc-updates.diff does not apply (enforce with -f) make[1]: *** [stamps/02-patch-stamp] Error 1 --- gcc.orig/debian/rules.patch 2012-11-14 18:42:28.000000000 +0000 +++ gcc/debian/rules.patch 2012-11-19 11:35:19.618698153 +0000 @@ -27,7 +27,6 @@ debian_patches += \ rename-info-files \ $(if $(with_linaro_branch),gcc-linaro-doc) \ - $(if $(with_linaro_branch),,svn-doc-updates) \ hjl-x32-gcc-4_7-branch-doc \ else binutils-armel-cross-1.97/debian/control0000644000000000000000000000175512247100347015253 0ustar Source: binutils-armel-cross Section: devel Priority: extra Maintainer: Ubuntu Core developers Standards-Version: 3.9.3 Build-Depends: dpkg-dev (>= 1.13.9), autoconf (>= 2.64), bison, flex, gettext, texinfo, dejagnu (>= 1.4.2-1.1), quilt, file, xz-utils, lsb-release, zlib1g-dev, binutils-source (>= 2.24-1~) Vcs-Browser: http://git.linaro.org/gitweb?p=people/hrw/cross-toolchain-packaging.git;a=shortlog;h=refs/heads/debian/experimental/armel-cross-toolchain-base Vcs-git: git://git.linaro.org/people/hrw/cross-toolchain-packaging.git Package: binutils-arm-linux-gnueabi Architecture: amd64 i386 Depends: binutils, ${shlibs:Depends}, ${misc:Depends} Description: The GNU binary utilities, for arm-linux-gnueabi target This package provides GNU assembler, linker and binary utilities for arm-linux-gnueabi target, for use in a cross-compilation environment. . You don't need this package unless you plan to cross-compile programs for arm-linux-gnueabi. binutils-armel-cross-1.97/debian/rules0000755000000000000000000001523112247100342014715 0ustar #!/usr/bin/make -f # prefix for builds - without leading slash PF ?= usr # Linaro toolchain backports PPA support PPA := false # if debian/ppa is present then we do PPA ifneq ($(wildcard debian/ppa),) PPA := true endif DISTRO ?= $(shell lsb_release -is) EXTRA_DEPS := MIN_VER_BINUTILS = 2.24-1~ ifeq ($(PPA),false) VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-'|cut -d '.' -f1-3) PKG_VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-') DEB_VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils/debian/changelog | egrep '^Version:' | cut -f 2 -d ' ') BINUTILS_DIR := /usr/src/binutils else # Linaro toolchain backport PPA EXTRA_DEPS := VER_BINUTILS := 2.24 PKG_VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils-${VER_BINUTILS}/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-') DEB_VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils-${VER_BINUTILS}/debian/changelog | egrep '^Version:' | cut -f 2 -d ' ') BINUTILS_DIR := /usr/src/binutils-${VER_BINUTILS} endif DEB_NAME_ACT := $(shell dpkg-parsechangelog| sed -n 's/-*//; s/^Source: \(.*\)/\1/p') DEB_VER_ACT := $(shell dpkg-parsechangelog| sed -n 's/^Version: \(.*\)/\1/p') CROSS_ARCH := $(shell dpkg-parsechangelog| sed -n 's/^Source: .*-\(.*\)-.*/\1/p') CROSS_GNU_TYPE := $(shell dpkg-architecture -a${CROSS_ARCH} -qDEB_HOST_GNU_TYPE -f) HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) stamp := stamp-dir/ # taken from gcc packaging define unpack_tarball tar -x -f $1 endef info: @echo "Binutils version: ${VER_BINUTILS} ${DEB_VER_BINUTILS} ${PKG_VER_BINUTILS}" @echo @echo "Target architecture: ${CROSS_ARCH}" @echo "Target GNU type: ${CROSS_GNU_TYPE}" @echo "Host architecture: ${HOST_ARCH}" @echo "Host GNU type: ${HOST_GNU_TYPE}" $(stamp)init-dirs: mkdir debian/tmp -p touch $@ init: $(stamp)init-binutils define init_binutils $(call unpack_tarball, ${BINUTILS_DIR}/binutils-${VER_BINUTILS}.tar.xz) cd binutils-${PKG_VER_BINUTILS} ;\ cp -a ${BINUTILS_DIR}/debian/ . ;\ if [ -n "$$(grep -v '^\#' ${CURDIR}/debian/patches/binutils/series)" ]; then \ QUILT_PATCHES=${CURDIR}/debian/patches/binutils quilt push -a; \ fi; \ echo ${CROSS_ARCH} > debian/target; endef $(stamp)init-binutils: $(call init_binutils) touch $@ $(stamp)build-binutils: $(call init_binutils) cd binutils-${PKG_VER_BINUTILS} \ && DEB_TARGET_ARCH=$(CROSS_ARCH) \ WITH_SYSROOT=/ \ PATCHED_SOURCES=yes \ PKG_IGNORE_CURRENTLY_BUILDING=1 \ BACKPORT=false \ dpkg-buildpackage -b -uc -us -nc -d # binutils wants dejagnu to generate docs which are not generate during cross build touch $@ clean: rm -rf binutils-${PKG_VER_BINUTILS} rm -rf debian/tmp debian/files rm -f *.*deb *.changes rm -rf repackfiles tmp rm -rf $(stamp) mkdir $(stamp) DEB_LIST_ARCH = $(wildcard *_${HOST_ARCH}.deb) # # Repack resulting packages to make some changes; # - I want libgcc1 to contain changelog etc which normally are in gcc-${VER_GCC_BASE}-*-base package # - libgcc1(-dbg) should depend on proper version libgcc1 (epoch hardcoded) # - libgcc1-dbg needs to have doc symlink to libgcc1 # - linux-libc-dev gets copyright and changelog # - libc6 gets copyright and changelog # - libc6-dev-arm(el|hf)-cross provides libc6-dev-arm(hf|el)-arm(hf|el)-cross # - libc6-dev-armhf-cross ships symlink to /usr/arm-linux-gnueabi/lib/hf for multilib cross compiler define repack_debs @for deb in $1; \ do \ rm -rf tmp/*; \ dpkg-deb -x $$deb tmp; \ dpkg-deb -e $$deb tmp/DEBIAN; \ pkgname=`echo $$deb | cut -d'_' -f1`; \ sed -i -e's/^Source:.*/Source: ${DEB_NAME_ACT} (${DEB_VER_ACT})/' tmp/DEBIAN/control; \ sed -i -e "s/${DEB_VER_BINUTILS}/${DEB_VER_BINUTILS}cross${DEB_VER_ACT}/g" tmp/DEBIAN/control ; \ sed -i -e "s/cross${DEB_VER_ACT}cross${DEB_VER_ACT}/cross${DEB_VER_ACT}/g" tmp/DEBIAN/control ; \ if [ -e debian/overrides/$$pkgname ]; then \ mkdir -p tmp/usr/share/lintian/overrides; \ cp debian/overrides/$$pkgname tmp/usr/share/lintian/overrides/; \ fi; \ (cd tmp && md5sum `find usr -type f` >>DEBIAN/md5sums);\ newdeb=`echo $$deb|sed -e "s/\(.*\)_\(.*\)_\(.*\)/\1_\2cross${DEB_VER_ACT}_\3/g"`; \ PKG_IGNORE_CURRENTLY_BUILDING=1 dpkg-deb -b tmp/ ../$$newdeb; \ rm -rf tmp/*; \ done endef repack-debs-arch: build $(call repack_debs, ${DEB_LIST_ARCH}) build-arch: build build-indep: build build: $(stamp)build-binutils # we do not need those packages rm -f cpp-*_${HOST_ARCH}.*deb rm -f gcc-*_${HOST_ARCH}.*deb rm -f linux-headers*.*deb rm -f *-doc*.*deb rm -f *-source*.*deb rm -f linux-tools-common_*.*deb rm -f nscd*deb binary: binary-arch binary-indep binary-arch: build mangle-debian-files-arch binary-indep: DUMMYNAME = ifeq ($(CROSS_ARCH),armel) DUMMYNAME = armel-armhf else ifeq ($(CROSS_ARCH),armhf) DUMMYNAME = armhf-armel endif $(stamp)debian-files-base: rm -f debian/files touch $@ define generate_debian_files @for deb in $1; \ do \ echo -n "`basename $$deb` " >>debian/files; \ dpkg-deb -I $$deb | grep Section | cut -d ' ' -f 3 | tr "\n" ' ' >>debian/files; \ dpkg-deb -I $$deb | grep Priority | cut -d ' ' -f 3 | tr -d "\n" >>debian/files; \ echo "" >>debian/files; \ done endef mangle-debian-files-arch: $(stamp)debian-files-base repack-debs-arch $(call generate_debian_files, ${DEB_LIST_ARCH}) sed -i -e "s/_all.deb/cross${DEB_VER_ACT}_all.deb/g" debian/files sed -i -e "s/_${HOST_ARCH}.deb/cross${DEB_VER_ACT}_${HOST_ARCH}.deb/g" debian/files sed -i -e "s/cross${DEB_VER_ACT}cross${DEB_VER_ACT}/cross${DEB_VER_ACT}/g" debian/files control: sed -e "s/CROSS_ARCH/${CROSS_ARCH}/g" \ -e "s/CROSS_GNU_TYPE/${CROSS_GNU_TYPE}/g" \ -e "s/MIN_VER_EGLIBC/${MIN_VER_EGLIBC}/g" \ -e "s/MIN_VER_LINUX/${MIN_VER_LINUX}/g" \ -e "s/VER_LINUX/${VER_LINUX}/g" \ -e "s/MIN_VER_GCC/${MIN_VER_GCC}/g" \ -e "s/VER_GCC_BASE/${VER_GCC_BASE}/g" \ -e "s/MIN_VER_BINUTILS/${MIN_VER_BINUTILS}/g" \ -e "s/EXTRA_DEPS/${EXTRA_DEPS}/g" \ $(CURDIR)/debian/control.in >$(CURDIR)/debian/control ifeq ($(PPA),true) sed \ -e "s/binutils-source/binutils-${VER_BINUTILS}-source/g" \ -e "s/eglibc-source/eglibc-${VER_EGLIBC}-source/g" \ -e "s/linux-source/linux-source-${VER_LINUX}/g" \ -e "s/1.16.0~ubuntu6/1.15.5/g" \ -e "s/gcc-${VER_GCC_BASE}-source/gcc-${VER_GCC_BASE}-${VER_GCC}-source/g" \ -i $(CURDIR)/debian/control endif binutils-armel-cross-1.97/debian/source/0000755000000000000000000000000012041714257015143 5ustar binutils-armel-cross-1.97/debian/source/format0000644000000000000000000000001512041714257016352 0ustar 3.0 (native) binutils-armel-cross-1.97/debian/README.source0000644000000000000000000000151412045775451016032 0ustar This package does not contain sources to build resulting packages. All of them are generated from contents of few source binary packages: - binutils-source - eglibc-source - gcc-4.5-source - linux-source Each of them is built in special way, results from few builds are then used for next parts. Order is defined in GCC manuals as "bootstrapping cross compiler". Result of build is then mangled to contain proper information about which source package they were built from and some version changes may also be applied. Debian merge status: - build-binutils works out of box - build-linux works with copy of packaging + patches which adds stage1 support - init-eglibc works with copy of packaging + patches which adds stages support + copies of other patches - init-gcc works with extra patch to handle not building documentation (non DFSG) binutils-armel-cross-1.97/stamp-dir/0000755000000000000000000000000012247100355014315 5ustar