linuxdebug/scripts/Makefile.kmsan

9 lines
208 B
Makefile
Raw Normal View History

2024-07-16 15:50:57 +02:00
# SPDX-License-Identifier: GPL-2.0
kmsan-cflags := -fsanitize=kernel-memory
ifdef CONFIG_KMSAN_CHECK_PARAM_RETVAL
kmsan-cflags += -fsanitize-memory-param-retval
endif
export CFLAGS_KMSAN := $(kmsan-cflags)