diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:15:57 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:15:57 -0400 |
commit | 4dc55b8696bc17c8e4315bce50d9bfe9ef2dc05f (patch) | |
tree | 536408f01757b7d998a9892b4cc1a9cedc9b7b56 /arch | |
parent | 6e7873f6ff38bca29bc65cb8c96fd7f557215755 (diff) |
x86_64: prepare shared lib/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/lib/Makefile | 18 | ||||
-rw-r--r-- | arch/x86_64/lib/Makefile_64 | 13 |
2 files changed, 18 insertions, 13 deletions
diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile index bbabad3c9335..2b1547e0ac6b 100644 --- a/arch/x86_64/lib/Makefile +++ b/arch/x86_64/lib/Makefile | |||
@@ -1,13 +1,5 @@ | |||
1 | # | 1 | ifeq ($(CONFIG_X86_32),y) |
2 | # Makefile for x86_64-specific library files. | 2 | include ${srctree}/arch/i386/lib/Makefile_32 |
3 | # | 3 | else |
4 | 4 | include ${srctree}/arch/x86_64/lib/Makefile_64 | |
5 | CFLAGS_csum-partial_64.o := -funroll-loops | 5 | endif |
6 | |||
7 | obj-y := io_64.o iomap_copy_64.o | ||
8 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
9 | |||
10 | lib-y := csum-partial_64.o csum-copy_64.o csum-wrappers_64.o delay_64.o \ | ||
11 | usercopy_64.o getuser_64.o putuser_64.o \ | ||
12 | thunk_64.o clear_page_64.o copy_page_64.o bitstr_64.o bitops_64.o | ||
13 | lib-y += memcpy_64.o memmove_64.o memset_64.o copy_user_64.o rwlock_64.o copy_user_nocache_64.o | ||
diff --git a/arch/x86_64/lib/Makefile_64 b/arch/x86_64/lib/Makefile_64 new file mode 100644 index 000000000000..bbabad3c9335 --- /dev/null +++ b/arch/x86_64/lib/Makefile_64 | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # Makefile for x86_64-specific library files. | ||
3 | # | ||
4 | |||
5 | CFLAGS_csum-partial_64.o := -funroll-loops | ||
6 | |||
7 | obj-y := io_64.o iomap_copy_64.o | ||
8 | obj-$(CONFIG_SMP) += msr-on-cpu.o | ||
9 | |||
10 | lib-y := csum-partial_64.o csum-copy_64.o csum-wrappers_64.o delay_64.o \ | ||
11 | usercopy_64.o getuser_64.o putuser_64.o \ | ||
12 | thunk_64.o clear_page_64.o copy_page_64.o bitstr_64.o bitops_64.o | ||
13 | lib-y += memcpy_64.o memmove_64.o memset_64.o copy_user_64.o rwlock_64.o copy_user_nocache_64.o | ||