[Crosstoolchain-logs] [crosstoolchain] 01/04: Add more target arches and filter out the HOST=TARGET combo

Wookey wookey at moszumanska.debian.org
Wed Feb 5 19:54:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

wookey pushed a commit to branch master
in repository crosstoolchain.

commit 7eb482aec6e8825be7abf7d67f55ea700b362910
Author: Wookey <wookey at wookware.org>
Date:   Wed Feb 5 17:38:30 2014 +0000

    Add more target arches and filter out the HOST=TARGET combo
---
 cross-binutils-0.1/debian/rules | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/cross-binutils-0.1/debian/rules b/cross-binutils-0.1/debian/rules
index fb4d1d0..a886260 100755
--- a/cross-binutils-0.1/debian/rules
+++ b/cross-binutils-0.1/debian/rules
@@ -19,15 +19,14 @@ DEB_VER_BINUTILS := $(shell dpkg-parsechangelog -l/usr/src/binutils/debian/chang
 BINUTILS_DIR  := /usr/src/binutils
 
 ifeq ($(DISTRO),Debian)
-
-TARGET_LIST := armhf armel
-#TARGET_LIST := armhf armel mips mipsel i386 amd64
-
+ALL_TARGETS := armhf armel arm64 mips mipsel powerpc i386 amd64
 else # Ubuntu
+ALL_TARGETS := armhf armel arm64
+endif
 
-TARGET_LIST := armhf armel arm64
+# Don't try to build the HOST=TARGET (ie. non-cross) combination for this arch
+TARGET_LIST := $(filter-out ${DEB_HOST_ARCH}, ${ALL_TARGETS})
 
-endif
 
 # taken from gcc packaging
 define unpack_tarball
@@ -89,7 +88,7 @@ define repack_deb
 	dpkg-deb -e $$deb tmp/DEBIAN; \
 	pkgname=`echo $$deb | cut -d'_' -f1`; \
         sed -i -e's/^Source:.*/Source: ${THIS_PKG} (${THIS_PKG_VER})/' tmp/DEBIAN/control; \
-        sed -i -e's/^Maintainer:.*/Maintainer: ${THIS_PKG_MAINT}\nXB-Built-Using-&/' tmp/DEBIAN/control; \
+        sed -i -e's/^Maintainer:.*/Maintainer: ${THIS_PKG_MAINT}\nXB-Original-Source-&/' tmp/DEBIAN/control; \
 	sed -i -e'3 a\
 	Built-Using: binutils (=${DEB_VER_BINUTILS})' tmp/DEBIAN/control; \
 	if [ -e debian/overrides/$$pkgname ]; then \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/crosstoolchain.git



More information about the Crosstoolchain-logs mailing list