summaryrefslogtreecommitdiff
path: root/website-kernel/Makefile
diff options
context:
space:
mode:
authorNathan Lee <me@nwlee.tech>2026-09-26 16:22:04 -0500
committerNathan Lee <me@nwlee.tech>2026-09-26 16:22:04 -0500
commit9660366219c28fc827c24ce7b428ad7e2534ead0 (patch)
treeb4ca2c6d46bc4f0ba46961bc903c130b09b03934 /website-kernel/Makefile
parent548905a86473101325540446f35ffda8acd0c3bb (diff)
scaffold rest of website
Diffstat (limited to 'website-kernel/Makefile')
-rw-r--r--website-kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/website-kernel/Makefile b/website-kernel/Makefile
index eb5a76e..01f259c 100644
--- a/website-kernel/Makefile
+++ b/website-kernel/Makefile
@@ -5,6 +5,7 @@ OBJCOPY = llvm-objcopy
COMPILER = $(shell $(CC) --version | head -n 1)
LINKER = $(shell $(LD) --version | head -n 1)
ARCH_NAME = 32-bit RISC-V, IM_Zicsr ISA, little endian, unknown ELF, System V ABI
+VERSION = 0.1.0-alpha
CFLAGS = \
--target=riscv32-unknown-elf \
@@ -60,7 +61,7 @@ $(KERNEL_ELF): $(ALL_OBJECTS) $(LINKER_SCRIPT)
$(LD) $(LD_FLAGS) -o $@ $(ALL_OBJECTS)
$(KERNEL_BINARY): $(KERNEL_ELF)
@echo " OBJCOPY $@"
- $(OBJCOPY) $(OBJCOPY_FLAGS) $(KERNEL_ELF) $(KERNEL_BIN)
+ $(OBJCOPY) $(OBJCOPY_FLAGS) $(KERNEL_ELF) $(KERNEL_BINARY)
clean:
@echo " CLEAN $(ALL_OBJECTS)"
$(RM) $(ALL_OBJECTS)