summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-10-04 17:48:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-10-05 08:35:59 +0200
commita7e32851c5712f8821874c2e264f81f512d90bac (patch)
treef145e7b1cfbd350d52bbd1de11d01edaa14a879c /arch/sandbox/Makefile
parenta8b788ba61eb813f87cc8b401da662a463a9548c (diff)
downloadbarebox-a7e32851c5712f8821874c2e264f81f512d90bac.tar.gz
barebox-a7e32851c5712f8821874c2e264f81f512d90bac.tar.xz
sandbox: implement DEBUG_LL support
We can't currently debug malloc() or early parts of the driver model on sandbox, because we require both to allocate the sandbox console device. To make debugging such early startup easier in future, add some simple DEBUG_LL support. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221004154800.3457742-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/Makefile')
-rw-r--r--arch/sandbox/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index aee6bccc9c..d5ba05ba86 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -30,7 +30,8 @@ KBUILD_CFLAGS += -Dmalloc=barebox_malloc -Dcalloc=barebox_calloc \
-Dopendir=barebox_opendir -Dreaddir=barebox_readdir \
-Dclosedir=barebox_closedir -Dreadlink=barebox_readlink \
-Doptarg=barebox_optarg -Doptind=barebox_optind \
- -Dsetjmp=barebox_setjmp -Dlongjmp=barebox_longjmp
+ -Dsetjmp=barebox_setjmp -Dlongjmp=barebox_longjmp \
+ -Dputchar=barebox_putchar
machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))