diff options
author | stefan <stefan@s00.xyz> | 2023-04-15 05:02:02 +0000 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-15 05:02:02 +0000 |
commit | af1ce4b2e637ceb418ea72d51c49a3eee276a938 (patch) | |
tree | 4d6a33644f8489e4f582f6e320bd6581b94fb642 /Makefile | |
parent | 8cceb31dcaf4641d43f324fa3301b37859ebfade (diff) | |
download | sv-af1ce4b2e637ceb418ea72d51c49a3eee276a938.tar.gz |
added multiprocessor support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |