aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules.real
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2019-01-01 16:37:33 +0000
committerBen Hutchings <ben@decadent.org.uk>2019-01-01 16:38:41 +0000
commit46fcfa88d1f657304af4eff9ed65b241147304f2 (patch)
treed9da3e463b2520d4ec67f148184a0ede21c15928 /debian/rules.real
parent3f9bd54247313cf4a962e4336aa9b42cb4475d35 (diff)
downloadkernel_replicant_linux-46fcfa88d1f657304af4eff9ed65b241147304f2.tar.gz
kernel_replicant_linux-46fcfa88d1f657304af4eff9ed65b241147304f2.tar.bz2
kernel_replicant_linux-46fcfa88d1f657304af4eff9ed65b241147304f2.zip
[ia64,m68k] libbpf: Really don't build on architectures without perf events
The architecture filtering needs to be done in debian/rules.real as well.
Diffstat (limited to 'debian/rules.real')
-rw-r--r--debian/rules.real8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules.real b/debian/rules.real
index ce909d7e0629..49c40555e658 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -105,8 +105,12 @@ ifneq ($(DO_TOOLS_VERSIONED),False)
endif
endif
ifneq ($(DO_TOOLS_UNVERSIONED),False)
- build-arch-arch:build-usbip build-cpupower build-liblockdep build-libbpf
- binary-arch-arch: install-usbip install-cpupower install-liblockdep install-libbpf
+ build-arch-arch: build-usbip build-cpupower build-liblockdep
+ binary-arch-arch: install-usbip install-cpupower install-liblockdep
+ ifneq ($(filter alpha amd64 arm64 arm64ilp32 armel armhf hppa i386 mips mips64 mips64el mips64r6 mips64r6el mipsel mipsn32 mipsn32el mipsn32r6 mipsn32r6el mipsr6 mipsr6el powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh3 sh4 sparc sparc64 x32,$(DEB_HOST_ARCH)),)
+ build-arch-arch: build-libbpf
+ binary-arch-arch: install-libbpf
+ endif
ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
build-arch-arch: build-hyperv-daemons
binary-arch-arch: install-hyperv-daemons