Makefile (a35762dd14adb952442e487d8dad4bb50b614b2b) Makefile (aebc7b0d8d91bbc69e976909963046bc48bca4fd)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for some libs needed in the kernel.
4#
5
6ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
7
8# These files are disabled because they produce lots of non-interesting and/or

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

77obj-$(CONFIG_TEST_RHASHTABLE) += test_rhashtable.o
78obj-$(CONFIG_TEST_SORT) += test_sort.o
79obj-$(CONFIG_TEST_USER_COPY) += test_user_copy.o
80obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o
81obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o
82obj-$(CONFIG_TEST_DYNAMIC_DEBUG) += test_dynamic_debug.o
83obj-$(CONFIG_TEST_PRINTF) += test_printf.o
84obj-$(CONFIG_TEST_SCANF) += test_scanf.o
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for some libs needed in the kernel.
4#
5
6ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
7
8# These files are disabled because they produce lots of non-interesting and/or

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

77obj-$(CONFIG_TEST_RHASHTABLE) += test_rhashtable.o
78obj-$(CONFIG_TEST_SORT) += test_sort.o
79obj-$(CONFIG_TEST_USER_COPY) += test_user_copy.o
80obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_keys.o
81obj-$(CONFIG_TEST_STATIC_KEYS) += test_static_key_base.o
82obj-$(CONFIG_TEST_DYNAMIC_DEBUG) += test_dynamic_debug.o
83obj-$(CONFIG_TEST_PRINTF) += test_printf.o
84obj-$(CONFIG_TEST_SCANF) += test_scanf.o
85
86obj-$(CONFIG_TEST_BITMAP) += test_bitmap.o
85obj-$(CONFIG_TEST_BITMAP) += test_bitmap.o
87ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_KASAN),yy)
88# FIXME: Clang breaks test_bitmap_const_eval when KASAN and GCOV are enabled
89GCOV_PROFILE_test_bitmap.o := n
90endif
91
92obj-$(CONFIG_TEST_UUID) += test_uuid.o
93obj-$(CONFIG_TEST_XARRAY) += test_xarray.o
94obj-$(CONFIG_TEST_MAPLE_TREE) += test_maple_tree.o
95obj-$(CONFIG_TEST_PARMAN) += test_parman.o
96obj-$(CONFIG_TEST_KMOD) += test_kmod.o
97obj-$(CONFIG_TEST_DEBUG_VIRTUAL) += test_debug_virtual.o
98obj-$(CONFIG_TEST_MEMCAT_P) += test_memcat_p.o
99obj-$(CONFIG_TEST_OBJAGG) += test_objagg.o

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

162obj-$(CONFIG_TRACE_MMIO_ACCESS) += trace_readwrite.o
163
164obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
165
166obj-$(CONFIG_BTREE) += btree.o
167obj-$(CONFIG_INTERVAL_TREE) += interval_tree.o
168obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o
169obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
86obj-$(CONFIG_TEST_UUID) += test_uuid.o
87obj-$(CONFIG_TEST_XARRAY) += test_xarray.o
88obj-$(CONFIG_TEST_MAPLE_TREE) += test_maple_tree.o
89obj-$(CONFIG_TEST_PARMAN) += test_parman.o
90obj-$(CONFIG_TEST_KMOD) += test_kmod.o
91obj-$(CONFIG_TEST_DEBUG_VIRTUAL) += test_debug_virtual.o
92obj-$(CONFIG_TEST_MEMCAT_P) += test_memcat_p.o
93obj-$(CONFIG_TEST_OBJAGG) += test_objagg.o

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

156obj-$(CONFIG_TRACE_MMIO_ACCESS) += trace_readwrite.o
157
158obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
159
160obj-$(CONFIG_BTREE) += btree.o
161obj-$(CONFIG_INTERVAL_TREE) += interval_tree.o
162obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o
163obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
170obj-$(CONFIG_DEBUG_LIST) += list_debug.o
164obj-$(CONFIG_LIST_HARDENED) += list_debug.o
171obj-$(CONFIG_DEBUG_OBJECTS) += debugobjects.o
172
173obj-$(CONFIG_BITREVERSE) += bitrev.o
174obj-$(CONFIG_LINEAR_RANGES) += linear_ranges.o
175obj-$(CONFIG_PACKING) += packing.o
176obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o
177obj-$(CONFIG_CRC16) += crc16.o
178obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o

--- 262 unchanged lines hidden ---
165obj-$(CONFIG_DEBUG_OBJECTS) += debugobjects.o
166
167obj-$(CONFIG_BITREVERSE) += bitrev.o
168obj-$(CONFIG_LINEAR_RANGES) += linear_ranges.o
169obj-$(CONFIG_PACKING) += packing.o
170obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o
171obj-$(CONFIG_CRC16) += crc16.o
172obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o

--- 262 unchanged lines hidden ---