upate os4/Makefile, os[345678]-ref/Makefile for make run OR test

This commit is contained in:
Yu Chen
2022-07-02 23:38:01 +08:00
parent 58613a70bc
commit 555d683353
7 changed files with 10 additions and 7 deletions

View File

@@ -16,7 +16,10 @@ KERNEL_ENTRY_PA := 0x80200000
OBJDUMP := rust-objdump --arch-name=riscv64
OBJCOPY := rust-objcopy --binary-architecture=riscv64
TEST ?= 0
CHAPTER ?= 4
TEST ?= $(CHAPTER)
BASE ?= 1
build: env $(KERNEL_BIN)
env: