summaryrefslogtreecommitdiff
path: root/arch/i386/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/lib/Makefile')
-rw-r--r--arch/i386/lib/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/arch/i386/lib/Makefile b/arch/i386/lib/Makefile
index 98d1f1e2e2ef..2b1547e0ac6b 100644
--- a/arch/i386/lib/Makefile
+++ b/arch/i386/lib/Makefile
@@ -1,11 +1,5 @@
-#
-# Makefile for i386-specific library files..
-#
-
-
-lib-y = checksum_32.o delay_32.o usercopy_32.o getuser_32.o putuser_32.o memcpy_32.o strstr_32.o \
- bitops_32.o semaphore_32.o string_32.o
-
-lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
-
-obj-$(CONFIG_SMP) += msr-on-cpu.o
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/i386/lib/Makefile_32
+else
+include ${srctree}/arch/x86_64/lib/Makefile_64
+endif