This requires support in //common: and it isn't there. Change-Id: I9409451c40b0e5f4ab28e4cf22e18a706e8959a6
8 lines
208 B
Text
8 lines
208 B
Text
# 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)
|