linux-kbuild: debian/control: Set Multi-Arch: foreign
svn path=/dists/trunk/linux-tools/; revision=18808
This commit is contained in:
parent
b8e53f54a2
commit
62a142135a
|
@ -1,6 +1,7 @@
|
||||||
linux-tools (3.3~rc7-1~experimental.1) UNRELEASED; urgency=low
|
linux-tools (3.3~rc7-1~experimental.1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* New upstream release candidate
|
* New upstream release candidate
|
||||||
|
* linux-kbuild: debian/control: Set Multi-Arch: foreign
|
||||||
|
|
||||||
-- Ben Hutchings <ben@decadent.org.uk> Sun, 11 Mar 2012 02:08:45 +0000
|
-- Ben Hutchings <ben@decadent.org.uk> Sun, 11 Mar 2012 02:08:45 +0000
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ export DH_OPTIONS
|
||||||
include debian/rules.defs
|
include debian/rules.defs
|
||||||
|
|
||||||
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||||
|
HAVE_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
|
||||||
|
|
||||||
binary-arch: install-kbuild
|
binary-arch: install-kbuild
|
||||||
ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
|
ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
|
||||||
|
@ -23,6 +24,11 @@ install-kbuild: $(STAMPS_DIR)/build
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k -d
|
dh_clean -k -d
|
||||||
|
ifneq (,$(HAVE_MULTIARCH))
|
||||||
|
echo linux-kbuild:Multi-Arch=foreign >>debian/$(PACKAGE_NAME).substvars
|
||||||
|
else
|
||||||
|
echo linux-kbuild:Multi-Arch= >>debian/$(PACKAGE_NAME).substvars
|
||||||
|
endif
|
||||||
$(MAKE) -C $(BUILD_DIR)/scripts install prefix=$(DIR) top_srcdir=$(CURDIR)
|
$(MAKE) -C $(BUILD_DIR)/scripts install prefix=$(DIR) top_srcdir=$(CURDIR)
|
||||||
dh_link $(BASE_DIR) /usr/src/$(PACKAGE_NAME)
|
dh_link $(BASE_DIR) /usr/src/$(PACKAGE_NAME)
|
||||||
dh_installchangelogs
|
dh_installchangelogs
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Package: linux-kbuild-@version@
|
Package: linux-kbuild-@version@
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Multi-Arch: ${linux-kbuild:Multi-Arch}
|
||||||
Description: Kbuild infrastructure for Linux @version@
|
Description: Kbuild infrastructure for Linux @version@
|
||||||
This package provides the kbuild infrastructure for the headers packages for Linux kernel version @version@.
|
This package provides the kbuild infrastructure for the headers packages for Linux kernel version @version@.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue