projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cgroup: add seq_file forward declaration for struct cftype
[deliverable/linux.git]
/
scripts
/
Makefile.kasan
diff --git
a/scripts/Makefile.kasan
b/scripts/Makefile.kasan
index 631619b2b118996277d45b2843a4a1469644477c..3f874d24234f6b4c2e40ac6d2bf0390326b8a8bf 100644
(file)
--- a/
scripts/Makefile.kasan
+++ b/
scripts/Makefile.kasan
@@
-13,12
+13,16
@@
CFLAGS_KASAN := $(call cc-option, -fsanitize=kernel-address \
--param asan-instrumentation-with-call-threshold=$(call_threshold))
ifeq ($(call cc-option, $(CFLAGS_KASAN_MINIMAL) -Werror),)
--param asan-instrumentation-with-call-threshold=$(call_threshold))
ifeq ($(call cc-option, $(CFLAGS_KASAN_MINIMAL) -Werror),)
+ ifneq ($(CONFIG_COMPILE_TEST),y)
$(warning Cannot use CONFIG_KASAN: \
-fsanitize=kernel-address is not supported by compiler)
$(warning Cannot use CONFIG_KASAN: \
-fsanitize=kernel-address is not supported by compiler)
+ endif
else
ifeq ($(CFLAGS_KASAN),)
else
ifeq ($(CFLAGS_KASAN),)
- $(warning CONFIG_KASAN: compiler does not support all options.\
- Trying minimal configuration)
+ ifneq ($(CONFIG_COMPILE_TEST),y)
+ $(warning CONFIG_KASAN: compiler does not support all options.\
+ Trying minimal configuration)
+ endif
CFLAGS_KASAN := $(CFLAGS_KASAN_MINIMAL)
endif
endif
CFLAGS_KASAN := $(CFLAGS_KASAN_MINIMAL)
endif
endif
This page took
0.036949 seconds
and
5
git commands to generate.