summaryrefslogtreecommitdiff
path: root/arch/x86/net/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/net/Makefile')
-rw-r--r--arch/x86/net/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/net/Makefile b/arch/x86/net/Makefile
index fefb4b619598..c6b464a261bb 100644
--- a/arch/x86/net/Makefile
+++ b/arch/x86/net/Makefile
@@ -1,6 +1,10 @@
#
# Arch-specific network modules
#
-OBJECT_FILES_NON_STANDARD_bpf_jit.o += y
-obj-$(CONFIG_BPF_JIT) += bpf_jit.o bpf_jit_comp.o
+ifeq ($(CONFIG_X86_32),y)
+ obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o
+else
+ OBJECT_FILES_NON_STANDARD_bpf_jit.o += y
+ obj-$(CONFIG_BPF_JIT) += bpf_jit.o bpf_jit_comp.o
+endif