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 /sys/Makefile | |
parent | 8cceb31dcaf4641d43f324fa3301b37859ebfade (diff) | |
download | sv-af1ce4b2e637ceb418ea72d51c49a3eee276a938.tar.gz |
added multiprocessor support
Diffstat (limited to 'sys/Makefile')
-rw-r--r-- | sys/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/Makefile b/sys/Makefile index 2cfd2bb..02ee0df 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -13,7 +13,6 @@ SRC=\ kern/printf.c\ kern/mm/kalloc.c\ kern/spinlock.c\ - dev/sbi.c\ dev/fdt/fdt.c @@ -23,6 +22,8 @@ ${BUILDDIR}/kernel.elf: ${SRC} -Wl,--defsym=LOAD_ADDR=${LOAD_ADDR}\ -Wl,--defsym=PAGE_SIZE=${PAGE_SIZE}\ -Wl,--defsym=NPROC=${NPROC}\ + -DLOAD_ADDR=${LOAD_ADDR}\ + -DNPROC=${NPROC}\ -DPAGE_SIZE=${PAGE_SIZE}\ -I ./include\ ${CFLAGS} -T kern/kernel.lds ${LDFLAGS}\ |