kasan: Makefile: shut up warnings if CONFIG_COMPILE_TEST=y
authorAndrey Ryabinin <a.ryabinin@samsung.com>
Thu, 16 Apr 2015 19:44:58 +0000 (12:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:59 +0000 (09:03 -0400)
commit6e54abac1b8e0b7febffdbad37b605daef1cfcff
tree6b8cd8b481b3584d80167f0357f8ca5a19950f0a
parent6ceafb880c218a14e0cf8d08499138a1a9775fb2
kasan: Makefile: shut up warnings if CONFIG_COMPILE_TEST=y

It might be annoying to constantly see this:

scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler

while performing allmodconfig/allyesconfig build tests.
Disable this warning if CONFIG_COMPILE_TEST=y.

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Makefile.kasan