Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2
3context-analysis-cflags := -DWARN_CONTEXT_ANALYSIS \
4 -fexperimental-late-parse-attributes -Wthread-safety \
5 -Wthread-safety-pointer -Wthread-safety-beta
6
7ifndef CONFIG_WARN_CONTEXT_ANALYSIS_ALL
8context-analysis-cflags += --warning-suppression-mappings=$(srctree)/scripts/context-analysis-suppression.txt
9endif
10
11export CFLAGS_CONTEXT_ANALYSIS := $(context-analysis-cflags)