Makefile (38a9a5121c3bcf2ed857430a92e493568b247c35) Makefile (e47d9b1a76ed78d0d50491f6a7d8ef59e379f45c)
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

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

386obj-$(CONFIG_OVERFLOW_KUNIT_TEST) += overflow_kunit.o
387CFLAGS_stackinit_kunit.o += $(call cc-disable-warning, switch-unreachable)
388obj-$(CONFIG_STACKINIT_KUNIT_TEST) += stackinit_kunit.o
389CFLAGS_fortify_kunit.o += $(call cc-disable-warning, unsequenced)
390CFLAGS_fortify_kunit.o += $(call cc-disable-warning, stringop-overread)
391CFLAGS_fortify_kunit.o += $(call cc-disable-warning, stringop-truncation)
392CFLAGS_fortify_kunit.o += $(DISABLE_STRUCTLEAK_PLUGIN)
393obj-$(CONFIG_FORTIFY_KUNIT_TEST) += fortify_kunit.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

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

386obj-$(CONFIG_OVERFLOW_KUNIT_TEST) += overflow_kunit.o
387CFLAGS_stackinit_kunit.o += $(call cc-disable-warning, switch-unreachable)
388obj-$(CONFIG_STACKINIT_KUNIT_TEST) += stackinit_kunit.o
389CFLAGS_fortify_kunit.o += $(call cc-disable-warning, unsequenced)
390CFLAGS_fortify_kunit.o += $(call cc-disable-warning, stringop-overread)
391CFLAGS_fortify_kunit.o += $(call cc-disable-warning, stringop-truncation)
392CFLAGS_fortify_kunit.o += $(DISABLE_STRUCTLEAK_PLUGIN)
393obj-$(CONFIG_FORTIFY_KUNIT_TEST) += fortify_kunit.o
394obj-$(CONFIG_CRC_KUNIT_TEST) += crc_kunit.o
394obj-$(CONFIG_SIPHASH_KUNIT_TEST) += siphash_kunit.o
395obj-$(CONFIG_USERCOPY_KUNIT_TEST) += usercopy_kunit.o
396obj-$(CONFIG_CRC16_KUNIT_TEST) += crc16_kunit.o
397
398obj-$(CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED) += devmem_is_allowed.o
399
400obj-$(CONFIG_FIRMWARE_TABLE) += fw_table.o
401
402subdir-$(CONFIG_FORTIFY_SOURCE) += test_fortify
395obj-$(CONFIG_SIPHASH_KUNIT_TEST) += siphash_kunit.o
396obj-$(CONFIG_USERCOPY_KUNIT_TEST) += usercopy_kunit.o
397obj-$(CONFIG_CRC16_KUNIT_TEST) += crc16_kunit.o
398
399obj-$(CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED) += devmem_is_allowed.o
400
401obj-$(CONFIG_FIRMWARE_TABLE) += fw_table.o
402
403subdir-$(CONFIG_FORTIFY_SOURCE) += test_fortify