summaryrefslogtreecommitdiffstats
path: root/arch/x86/net/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/net/Makefile')
-rw-r--r--arch/x86/net/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/net/Makefile b/arch/x86/net/Makefile
index fefb4b619598c..59e123da580cb 100644
--- a/arch/x86/net/Makefile
+++ b/arch/x86/net/Makefile
@@ -1,6 +1,9 @@
#
# 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
+ obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o
+endif