Makefile (095d911201b0741e7f326d269a005dba55985acf) Makefile (64ac24e738823161693bf791f87adc802cf529ff)
1#
2# Makefile for some libs needed in the kernel.
3#
4
5lib-y := ctype.o string.o vsprintf.o cmdline.o \
6 rbtree.o radix-tree.o dump_stack.o \
7 idr.o int_sqrt.o extable.o prio_tree.o \
8 sha1.o irq_regs.o reciprocal_div.o argv_split.o \

--- 15 unchanged lines hidden (view full) ---

24lib-$(CONFIG_HOTPLUG) += kobject_uevent.o
25obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
26obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
27obj-$(CONFIG_CHECK_SIGNATURE) += check_signature.o
28obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
29obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
30lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
31lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
1#
2# Makefile for some libs needed in the kernel.
3#
4
5lib-y := ctype.o string.o vsprintf.o cmdline.o \
6 rbtree.o radix-tree.o dump_stack.o \
7 idr.o int_sqrt.o extable.o prio_tree.o \
8 sha1.o irq_regs.o reciprocal_div.o argv_split.o \

--- 15 unchanged lines hidden (view full) ---

24lib-$(CONFIG_HOTPLUG) += kobject_uevent.o
25obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
26obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
27obj-$(CONFIG_CHECK_SIGNATURE) += check_signature.o
28obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o
29obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
30lib-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
31lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
32lib-$(CONFIG_SEMAPHORE_SLEEPERS) += semaphore-sleepers.o
33lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o
34obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
35obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o
36obj-$(CONFIG_PLIST) += plist.o
37obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
38obj-$(CONFIG_DEBUG_LIST) += list_debug.o
39
40ifneq ($(CONFIG_HAVE_DEC_LOCK),y)

--- 15 unchanged lines hidden (view full) ---

56obj-$(CONFIG_LZO_COMPRESS) += lzo/
57obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
58
59obj-$(CONFIG_TEXTSEARCH) += textsearch.o
60obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
61obj-$(CONFIG_TEXTSEARCH_BM) += ts_bm.o
62obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o
63obj-$(CONFIG_SMP) += percpu_counter.o
32lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o
33obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
34obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o
35obj-$(CONFIG_PLIST) += plist.o
36obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
37obj-$(CONFIG_DEBUG_LIST) += list_debug.o
38
39ifneq ($(CONFIG_HAVE_DEC_LOCK),y)

--- 15 unchanged lines hidden (view full) ---

55obj-$(CONFIG_LZO_COMPRESS) += lzo/
56obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
57
58obj-$(CONFIG_TEXTSEARCH) += textsearch.o
59obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
60obj-$(CONFIG_TEXTSEARCH_BM) += ts_bm.o
61obj-$(CONFIG_TEXTSEARCH_FSM) += ts_fsm.o
62obj-$(CONFIG_SMP) += percpu_counter.o
63obj-$(CONFIG_SMP) += pcounter.o
64obj-$(CONFIG_AUDIT_GENERIC) += audit.o
65
66obj-$(CONFIG_SWIOTLB) += swiotlb.o
67obj-$(CONFIG_IOMMU_HELPER) += iommu-helper.o
68obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
69
70lib-$(CONFIG_GENERIC_BUG) += bug.o
71
72hostprogs-y := gen_crc32table
73clean-files := crc32table.h
74
75$(obj)/crc32.o: $(obj)/crc32table.h
76
77quiet_cmd_crc32 = GEN $@
78 cmd_crc32 = $< > $@
79
80$(obj)/crc32table.h: $(obj)/gen_crc32table
81 $(call cmd,crc32)
64obj-$(CONFIG_AUDIT_GENERIC) += audit.o
65
66obj-$(CONFIG_SWIOTLB) += swiotlb.o
67obj-$(CONFIG_IOMMU_HELPER) += iommu-helper.o
68obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
69
70lib-$(CONFIG_GENERIC_BUG) += bug.o
71
72hostprogs-y := gen_crc32table
73clean-files := crc32table.h
74
75$(obj)/crc32.o: $(obj)/crc32table.h
76
77quiet_cmd_crc32 = GEN $@
78 cmd_crc32 = $< > $@
79
80$(obj)/crc32table.h: $(obj)/gen_crc32table
81 $(call cmd,crc32)