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 | 4ad61afcd95e4865b4cf568b35dad074914d65b3 (patch) | |
tree | 3c99498acb534213e5b8b913b1448f5d5f37b2eb /src/compat/Kbuild.include | |
parent | 60e2e7ad61648cf5fb18f79c8c8362623227635a (diff) |
compat: look in Kbuild and Makefile since they differ based on arch
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/Kbuild.include')
-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 |