diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 00:51:13 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:14:52 +0200 |
commit | 6f2953ddfe65e6614366b92d1f9e162319cbe6e7 (patch) | |
tree | 966d08f1b9c87ba1a50e721ab5ced2b1aed3629f /src | |
parent | create-patch: blacklist instead of whitelist (diff) | |
download | wireguard-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 'src')
-rw-r--r-- | src/compat/Kbuild.include | 2 |
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 |