summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-09-18 10:32:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-21 07:51:38 +0200
commit2b7b0cd8d9f71bdf2d6623ead66ef2510095aa0f (patch)
treee8321bfa0b74bf01120681036493c1abf2ca8561 /arch/sandbox/Makefile
parentbe03313b615d5557c9c3e0cd5c272d16df2efde0 (diff)
downloadbarebox-2b7b0cd8d9f71bdf2d6623ead66ef2510095aa0f.tar.gz
barebox-2b7b0cd8d9f71bdf2d6623ead66ef2510095aa0f.tar.xz
sandbox: rename KASan to ASan
sandbox really has ASan support, that is address sanitizer with the help of the userspace library libasan. In contrast KASan is used on real hardware where we have to implement our own support code. Rename sandbox KASan to ASan to not clash with upcoming KASan support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r--arch/sandbox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 27021222dc..ce1fe3b672 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -44,7 +44,7 @@ ifeq ($(CONFIG_GPIO_LIBFTDI1),y)
FTDI1_LIBS := $(shell pkg-config libftdi1 --libs)
endif
-ifeq ($(CONFIG_KASAN),y)
+ifeq ($(CONFIG_ASAN),y)
KBUILD_CPPFLAGS += -fsanitize=address
SANITIZER_LIBS += -fsanitize=address
endif