aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 05:13:35 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 05:13:35 -0400
commit5fde34fddcb58af7bd08c143389ed074f8715f9f (patch)
tree645723b868934f25ae3ef262b04e26b1c69f1367
parentd779d8f9f8419e8492959adc267cdf5478bc4748 (diff)
i386: prepare shared lib/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/i386/lib/Makefile16
-rw-r--r--arch/i386/lib/Makefile_3211
2 files changed, 16 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 @@
1# 1ifeq ($(CONFIG_X86_32),y)
2# Makefile for i386-specific library files.. 2include ${srctree}/arch/i386/lib/Makefile_32
3# 3else
4 4include ${srctree}/arch/x86_64/lib/Makefile_64
5 5endif
6lib-y = checksum_32.o delay_32.o usercopy_32.o getuser_32.o putuser_32.o memcpy_32.o strstr_32.o \
7 bitops_32.o semaphore_32.o string_32.o
8
9lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
10
11obj-$(CONFIG_SMP) += msr-on-cpu.o
diff --git a/arch/i386/lib/Makefile_32 b/arch/i386/lib/Makefile_32
new file mode 100644
index 000000000000..98d1f1e2e2ef
--- /dev/null
+++ b/arch/i386/lib/Makefile_32
@@ -0,0 +1,11 @@
1#
2# Makefile for i386-specific library files..
3#
4
5
6lib-y = checksum_32.o delay_32.o usercopy_32.o getuser_32.o putuser_32.o memcpy_32.o strstr_32.o \
7 bitops_32.o semaphore_32.o string_32.o
8
9lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
10
11obj-$(CONFIG_SMP) += msr-on-cpu.o