Skip to content

Commit

Permalink
x86_64: prepare shared lib/Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Oct 11, 2007
1 parent 6e7873f commit 4dc55b8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
18 changes: 5 additions & 13 deletions arch/x86_64/lib/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
#
# Makefile for x86_64-specific library files.
#

CFLAGS_csum-partial_64.o := -funroll-loops

obj-y := io_64.o iomap_copy_64.o
obj-$(CONFIG_SMP) += msr-on-cpu.o

lib-y := csum-partial_64.o csum-copy_64.o csum-wrappers_64.o delay_64.o \
usercopy_64.o getuser_64.o putuser_64.o \
thunk_64.o clear_page_64.o copy_page_64.o bitstr_64.o bitops_64.o
lib-y += memcpy_64.o memmove_64.o memset_64.o copy_user_64.o rwlock_64.o copy_user_nocache_64.o
ifeq ($(CONFIG_X86_32),y)
include ${srctree}/arch/i386/lib/Makefile_32
else
include ${srctree}/arch/x86_64/lib/Makefile_64
endif
13 changes: 13 additions & 0 deletions arch/x86_64/lib/Makefile_64
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Makefile for x86_64-specific library files.
#

CFLAGS_csum-partial_64.o := -funroll-loops

obj-y := io_64.o iomap_copy_64.o
obj-$(CONFIG_SMP) += msr-on-cpu.o

lib-y := csum-partial_64.o csum-copy_64.o csum-wrappers_64.o delay_64.o \
usercopy_64.o getuser_64.o putuser_64.o \
thunk_64.o clear_page_64.o copy_page_64.o bitstr_64.o bitops_64.o
lib-y += memcpy_64.o memmove_64.o memset_64.o copy_user_64.o rwlock_64.o copy_user_nocache_64.o

0 comments on commit 4dc55b8

Please sign in to comment.