aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 00:51:13 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 03:14:52 +0200
commit6f2953ddfe65e6614366b92d1f9e162319cbe6e7 (patch)
tree966d08f1b9c87ba1a50e721ab5ced2b1aed3629f /src/compat/Kbuild.include
parentcreate-patch: blacklist instead of whitelist (diff)
downloadwireguard-monolithic-historical-6f2953ddfe65e6614366b92d1f9e162319cbe6e7.tar.xz
wireguard-monolithic-historical-6f2953ddfe65e6614366b92d1f9e162319cbe6e7.zip
compat: look in Kbuild and Makefile since they differ based on arch
Diffstat (limited to '')
-rw-r--r--src/compat/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index 1565d8f..03a4ea3 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -33,7 +33,7 @@ ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h)$(CONFIG_X86),y)
ccflags-y += -I$(src)/compat/fpu-x86/include
endif
-ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/simd.h)$(shell grep -s -F "generic-y += simd.h" "$(srctree)/arch/$(SRCARCH)/Kbuild"),)
+ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/simd.h)$(shell grep -s -F "generic-y += simd.h" "$(srctree)/arch/$(SRCARCH)/Kbuild" "$(srctree)/arch/$(SRCARCH)/Makefile"),)
ccflags-y += -I$(src)/compat/simd-asm/include
endif