2021-01-18 16:55:51 +00:00
|
|
|
LIBS = cxx
|
2016-11-07 17:00:24 +00:00
|
|
|
|
|
|
|
SRC_CC += bootstrap/init.cc
|
|
|
|
SRC_CC += bootstrap/lock.cc
|
2017-02-21 12:46:59 +00:00
|
|
|
SRC_CC += bootstrap/log.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_CC += bootstrap/platform.cc
|
|
|
|
SRC_CC += bootstrap/thread.cc
|
2017-02-21 12:46:59 +00:00
|
|
|
SRC_CC += hw/capability.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_CC += lib/base/allocator_avl.cc
|
|
|
|
SRC_CC += lib/base/avl_tree.cc
|
|
|
|
SRC_CC += lib/base/elf_binary.cc
|
|
|
|
SRC_CC += lib/base/heap.cc
|
2017-03-06 16:15:58 +00:00
|
|
|
SRC_CC += lib/base/registry.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_CC += lib/base/log.cc
|
|
|
|
SRC_CC += lib/base/output.cc
|
2019-10-16 13:06:44 +00:00
|
|
|
SRC_CC += lib/base/raw_output.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_CC += lib/base/slab.cc
|
|
|
|
SRC_CC += lib/base/sleep.cc
|
|
|
|
SRC_CC += lib/base/sliced_heap.cc
|
|
|
|
|
2021-01-18 16:55:51 +00:00
|
|
|
REP_INC_DIR += src/bootstrap
|
|
|
|
REP_INC_DIR += src/include
|
|
|
|
REP_INC_DIR += src/core/include # for boot_modules.h only
|
2016-11-07 17:00:24 +00:00
|
|
|
|
2021-01-18 16:55:51 +00:00
|
|
|
TMP := $(call select_from_repositories,lib/mk/bootstrap-hw.inc)
|
2021-02-16 13:21:34 +00:00
|
|
|
BASE_HW_DIR := $(TMP:%/lib/mk/bootstrap-hw.inc=%)
|
2021-01-18 16:55:51 +00:00
|
|
|
|
2020-04-08 15:24:34 +00:00
|
|
|
vpath base/% $(BASE_HW_DIR)/src
|
|
|
|
vpath bootstrap/% $(BASE_HW_DIR)/src
|
|
|
|
vpath hw/% $(BASE_HW_DIR)/src/lib
|
|
|
|
vpath lib/base/% $(BASE_HW_DIR)/src
|
2016-11-07 17:00:24 +00:00
|
|
|
vpath lib/base/% $(BASE_DIR)/src
|
2024-07-03 12:44:15 +00:00
|
|
|
|
|
|
|
include $(call select_from_repositories,lib/mk/consts-hw.inc)
|