[kernel] r21964 - dists/sid/linux-latest/debian

Ben Hutchings benh at moszumanska.debian.org
Mon Oct 20 18:31:29 UTC 2014


Author: benh
Date: Mon Oct 20 18:31:29 2014
New Revision: 21964

Log:
Don't try to define $(DEB_HOST_ARCH) etc. if $(ARCH) is not defined

For arch-independent packages we don't need these, and the invocations
of dpkg-architecture with empty $(ARCH) result in error messages.

Modified:
   dists/sid/linux-latest/debian/rules.real

Modified: dists/sid/linux-latest/debian/rules.real
==============================================================================
--- dists/sid/linux-latest/debian/rules.real	Mon Oct 20 18:14:20 2014	(r21963)
+++ dists/sid/linux-latest/debian/rules.real	Mon Oct 20 18:31:29 2014	(r21964)
@@ -1,7 +1,9 @@
 SHELL  := bash -e
+ifdef ARCH
 override DEB_HOST_ARCH     := $(shell dpkg-architecture -a'$(ARCH)' -f -qDEB_HOST_ARCH)
 override DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -a'$(ARCH)' -f -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_ARCH    := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_BUILD_ARCH)
+endif
 
 export DH_OPTIONS
 export DEB_HOST_ARCH



More information about the Kernel-svn-changes mailing list