diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-06 20:53:44 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-06 21:07:22 -0600 |
commit | 1c896512cb783adfb82930c9ebd0421de245858f (patch) | |
tree | 3ef410bb0731e811ac5cf50887bfd23d1b17ac15 /src/compat/Kbuild.include | |
parent | 734021d08b6381e0430d2a6278aeb3ca4c70c72a (diff) |
compat: arch-namespace certain includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r-- | src/compat/Kbuild.include | 16 |
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) |