diff options
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 |