2019-03-14 14:33:32 +00:00
|
|
|
#
|
|
|
|
# evaluate bbl_dir immediately, otherwise it won't recognize
|
|
|
|
# missing ports when checking library dependencies
|
|
|
|
#
|
|
|
|
BBL_DIR := $(call select_from_ports,bbl)/src/lib/bbl
|
|
|
|
|
2020-04-08 15:24:34 +00:00
|
|
|
INC_DIR += $(REP_DIR)/src/bootstrap/spec/riscv $(BBL_DIR)
|
2016-11-07 17:00:24 +00:00
|
|
|
|
|
|
|
SRC_CC += bootstrap/spec/riscv/platform.cc
|
|
|
|
SRC_CC += lib/base/riscv/kernel/interface.cc
|
2017-06-20 13:25:04 +00:00
|
|
|
SRC_CC += spec/64bit/memory_map.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_S += bootstrap/spec/riscv/crt0.s
|
|
|
|
|
2020-04-08 15:24:34 +00:00
|
|
|
vpath spec/64bit/memory_map.cc $(REP_DIR)/src/lib/hw
|
2017-06-20 13:25:04 +00:00
|
|
|
|
2020-04-08 15:24:34 +00:00
|
|
|
include $(REP_DIR)/lib/mk/bootstrap-hw.inc
|