Skip to content

Commit

Permalink
fixup "hw: introduction of cpu local mem area" (migv)
Browse files Browse the repository at this point in the history
  • Loading branch information
chelmuth committed Aug 1, 2024
1 parent cae85d8 commit c5ffe94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/mk/spec/riscv/bootstrap-hw-migv.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
INC_DIR += $(REP_DIR)/src/bootstrap/board/migv

SRC_S += bootstrap/spec/riscv/crt0.s
SRC_CC += bootstrap/platform_cpu_memory_area.cc
SRC_CC += bootstrap/spec/riscv/platform.cc
SRC_S += bootstrap/spec/riscv/crt0.s
SRC_CC += lib/base/riscv/kernel/interface.cc
SRC_CC += spec/64bit/memory_map.cc

vpath spec/64bit/memory_map.cc $(call select_from_repositories,/src/lib/hw)
ARCH_WIDTH_PATH := spec/64bit

include $(call select_from_repositories,lib/mk/bootstrap-hw.inc)
3 changes: 1 addition & 2 deletions lib/mk/spec/riscv/core-hw-migv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ SRC_CC += spec/riscv/kernel/pd.cc
SRC_CC += spec/riscv/cpu.cc
SRC_CC += spec/riscv/pic.cc
SRC_CC += spec/riscv/platform_support.cc
SRC_CC += spec/64bit/memory_map.cc

#add assembly sources
SRC_S += spec/riscv/exception_vector.s
SRC_S += spec/riscv/crt0.s

vpath spec/64bit/memory_map.cc $(call select_from_repositories,/src/lib/hw)
ARCH_WIDTH_PATH := spec/64bit
vpath board/migv/timer.cc $(REP_DIR)/src/core

# include less specific configuration
Expand Down

0 comments on commit c5ffe94

Please sign in to comment.