[kernel] r22033 - dists/sid/linux/debian
Ben Hutchings
benh at moszumanska.debian.org
Tue Nov 4 02:02:30 UTC 2014
Author: benh
Date: Tue Nov 4 02:02:28 2014
New Revision: 22033
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/debian/rules.real
Modified: dists/sid/linux/debian/rules.real
==============================================================================
--- dists/sid/linux/debian/rules.real Tue Nov 4 01:22:49 2014 (r22032)
+++ dists/sid/linux/debian/rules.real Tue Nov 4 02:02:28 2014 (r22033)
@@ -6,10 +6,12 @@
# expected to be available (need to be exported from the parent process).
#
SHELL := bash -e
+ifdef ARCH
DEB_HOST_ARCH := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_ARCH)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_GNU_TYPE)
DEB_HOST_MULTIARCH:= $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_MULTIARCH)
DEB_BUILD_ARCH := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_BUILD_ARCH)
+endif
MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control)
DISTRIBUTION := $(shell dpkg-parsechangelog | sed -ne 's,^Distribution: ,,p')
SOURCE_DATE := $(shell dpkg-parsechangelog | sed -ne 's,^Date: ,,p')
More information about the Kernel-svn-changes
mailing list