From af1ce4b2e637ceb418ea72d51c49a3eee276a938 Mon Sep 17 00:00:00 2001 From: stefan Date: Sat, 15 Apr 2023 05:02:02 +0000 Subject: added multiprocessor support --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4406ac9..68e0301 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ TARGET?=virt +BUILD?=debug CROSS_COMPILE?=riscv64-unknown-elf- GDB_PORT?=1234 CFLAGS=-nostdlib -ffreestanding -mcmodel=medany -I${.CURDIR}/include +.if ${BUILD}==debug +CFLAGS+=-ggdb +.endif .export sys: ${SRC} lib/build/libc.a -- cgit v1.2.3