Fix architecture filtering to use DEB_HOST_ARCH not DEB_BUILD_ARCH
Should make cross-builds work properly.
This commit is contained in:
parent
4263a6e85d
commit
8f3922a3c7
|
@ -1,4 +1,4 @@
|
|||
ifeq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
|
||||
ifeq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
|
||||
|
||||
# Build nothing
|
||||
include $(top_rulesdir)/Makefile.inc
|
||||
|
|
|
@ -8,10 +8,10 @@ define submake
|
|||
endef
|
||||
|
||||
binary-arch: install-kbuild install-usbip install-liblockdep install-cpupower
|
||||
ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
|
||||
ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_HOST_ARCH)),)
|
||||
binary-arch: install-perf
|
||||
endif
|
||||
ifneq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
|
||||
ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
|
||||
binary-arch: install-hyperv-daemons
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue