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

@@ -19,7 +19,7 @@ KERNEL_ENTRY_PA := 0x80200000
OBJDUMP := rust-objdump --arch-name=riscv64
OBJCOPY := rust-objcopy --binary-architecture=riscv64
CHAPTER ?= $(shell git rev-parse --abbrev-ref HEAD | grep -o 'ch[0-9]' | grep -o '[0-9]')
CHAPTER ?= 7
TEST ?= $(CHAPTER)
BASE ?= 1