mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-31 19:17:04 +00:00
1ccf8a280c
Avoid use of REP_DIR in *.mk files to simplify the use of these files as templates for a board hosted in a separate repository. Use REP_INC_DIR for searching headers, thereby considering headers hosted in an external repository. Issue #3168
18 lines
519 B
Makefile
18 lines
519 B
Makefile
#
|
|
# evaluate bbl_dir immediately, otherwise it won't recognize
|
|
# missing ports when checking library dependencies
|
|
#
|
|
|
|
REP_INC_DIR += src/bootstrap/spec/riscv
|
|
|
|
INC_DIR += $(call select_from_ports,bbl)/src/lib/bbl
|
|
|
|
SRC_CC += bootstrap/spec/riscv/platform.cc
|
|
SRC_CC += lib/base/riscv/kernel/interface.cc
|
|
SRC_CC += spec/64bit/memory_map.cc
|
|
SRC_S += bootstrap/spec/riscv/crt0.s
|
|
|
|
vpath spec/64bit/memory_map.cc $(call select_from_repositories,src/lib/hw)
|
|
|
|
include $(call select_from_repositories,lib/mk/bootstrap-hw.inc)
|