aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r--src/compat/Kbuild.include16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index 974c0d3..04ffdeb 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -25,16 +25,16 @@ ccflags-y += -I$(src)/compat/dst_cache/include
wireguard-y += compat/dst_cache/dst_cache.o
endif
-ifeq ($(wildcard $(srctree)/arch/x86/include/asm/intel-family.h),)
-ccflags-y += -I$(src)/compat/intel-family/include
+ifeq ($(wildcard $(srctree)/arch/x86/include/asm/intel-family.h)$(CONFIG_X86),y)
+ccflags-y += -I$(src)/compat/intel-family-x86/include
endif
-ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),)
-ccflags-y += -I$(src)/compat/fpu/include
+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/x86/include/asm/simd.h),)
-ccflags-y += -I$(src)/compat/simd/include
+ifeq ($(wildcard $(srctree)/arch/x86/include/asm/simd.h)$(CONFIG_X86),y)
+ccflags-y += -I$(src)/compat/simd-x86/include
endif
ifeq ($(wildcard $(srctree)/include/net/udp_tunnel.h),)
@@ -48,10 +48,10 @@ wireguard-y += compat/memneq/memneq.o
endif
ifeq ($(wildcard $(srctree)/arch/arm/include/asm/neon.h)$(CONFIG_ARM),y)
-ccflags-y += -I$(src)/compat/neon/include
+ccflags-y += -I$(src)/compat/neon-arm/include
endif
ifeq ($(wildcard $(srctree)/arch/arm64/include/asm/neon.h)$(CONFIG_ARM64),y)
-ccflags-y += -I$(src)/compat/neon/include
+ccflags-y += -I$(src)/compat/neon-arm/include
endif
ifeq ($(CONFIG_X86_64),y)