]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
d/rules: remove obsolete calls to dpkg-architecture
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 20 Nov 2017 08:50:12 +0000 (09:50 +0100)
committerAron Xu <aron@debian.org>
Tue, 28 Nov 2017 08:08:45 +0000 (16:08 +0800)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/rules

index 152b928fc49a24349bb2831c041d2a341782a2e1..bcc8251746fe32a148d952c536d112904f4e5c6a 100755 (executable)
@@ -12,10 +12,6 @@ ifndef BUILD_UDEB
 BUILD_UDEB=false
 endif
 
-ifndef DEB_HOST_ARCH
-DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
-endif
-
 ifndef KVERS
 KVERS=$(shell uname -r)
 endif
@@ -25,7 +21,7 @@ SPL=/usr/src/spl-$(DEB_VERSION_UPSTREAM)
 endif
 
 ifndef SPLOBJ
-SPLOBJ=/var/lib/dkms/spl/$(DEB_VERSION_UPSTREAM)/$(KVERS)/$(shell dpkg-architecture -qDEB_TARGET_GNU_CPU)
+SPLOBJ=/var/lib/dkms/spl/$(DEB_VERSION_UPSTREAM)/$(KVERS)/$(DEB_TARGET_GNU_CPU)
 endif
 
 non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://')