Files
OrangePi_CM5/arch/x86/lib/Makefile
T

47 lines
1.4 KiB
Makefile
Raw Normal View History

2008-01-30 13:32:31 +01:00
#
# Makefile for x86 specific library files.
#
2009-08-13 16:34:13 -04:00
inat_tables_script = $(srctree)/arch/x86/tools/gen-insn-attr-x86.awk
inat_tables_maps = $(srctree)/arch/x86/lib/x86-opcode-map.txt
quiet_cmd_inat_tables = GEN $@
cmd_inat_tables = $(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ || rm -f $@
2009-08-13 16:34:13 -04:00
$(obj)/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
$(call cmd,inat_tables)
$(obj)/inat.o: $(obj)/inat-tables.c
clean-files := inat-tables.c
2010-01-22 16:01:03 +01:00
obj-$(CONFIG_SMP) += msr-smp.o cache-smp.o
2008-01-30 13:32:31 +01:00
2008-07-03 12:35:41 -03:00
lib-y := delay.o
2008-05-12 21:20:42 +02:00
lib-y += thunk_$(BITS).o
lib-y += usercopy_$(BITS).o usercopy.o getuser.o putuser.o
2008-01-30 13:32:31 +01:00
lib-y += memcpy_$(BITS).o
2011-07-19 12:59:51 +01:00
lib-$(CONFIG_SMP) += rwlock.o
2011-07-19 13:00:19 +01:00
lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
lib-$(CONFIG_INSTRUCTION_DECODER) += insn.o inat.o
2008-01-30 13:32:31 +01:00
2009-12-17 00:16:25 +01:00
obj-y += msr.o msr-reg.o msr-reg-export.o
2008-01-30 13:32:31 +01:00
2007-10-11 11:13:35 +02:00
ifeq ($(CONFIG_X86_32),y)
2009-07-03 17:28:57 +02:00
obj-y += atomic64_32.o
lib-y += atomic64_cx8_32.o
2008-01-30 13:32:31 +01:00
lib-y += checksum_32.o
lib-y += strstr_32.o
2011-07-19 12:59:51 +01:00
lib-y += string_32.o
lib-y += cmpxchg.o
ifneq ($(CONFIG_X86_CMPXCHG64),y)
lib-y += cmpxchg8b_emu.o atomic64_386_32.o
endif
2008-01-30 13:32:31 +01:00
lib-$(CONFIG_X86_USE_3DNOW) += mmx_32.o
2007-10-11 11:13:35 +02:00
else
2010-02-05 09:37:07 -05:00
obj-y += iomap_copy_64.o
2008-01-30 13:32:31 +01:00
lib-y += csum-partial_64.o csum-copy_64.o csum-wrappers_64.o
lib-y += thunk_64.o clear_page_64.o copy_page_64.o
lib-y += memmove_64.o memset_64.o
2011-07-19 12:59:51 +01:00
lib-y += copy_user_64.o copy_user_nocache_64.o
lib-y += cmpxchg16b_emu.o
2007-10-11 11:13:35 +02:00
endif