Skip to content

Commit

Permalink
split stage2 into multiple files, assemble with make
Browse files Browse the repository at this point in the history
  • Loading branch information
devyn committed Aug 9, 2023
1 parent 9058e83 commit ef7b818
Show file tree
Hide file tree
Showing 16 changed files with 704 additions and 703 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.elf
*.bin
*.hex
/stage2.lsp
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
QEMU = qemu-system-riscv64
QEMUFLAGS = -s -d guest_errors

all: stage0.elf stage1.hex
all: stage0.elf stage1.hex stage2.lsp

clean: clean-stage0 clean-stage1
clean: clean-stage0 clean-stage1 clean-stage2

include stage0/make.mk
include stage1/make.mk
include stage2/make.mk

qemu: stage0.elf
$(QEMU) \
Expand Down
Loading

0 comments on commit ef7b818

Please sign in to comment.