mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +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
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
LIBS = cxx
|
|
|
|
SRC_CC += bootstrap/env.cc
|
|
SRC_CC += bootstrap/init.cc
|
|
SRC_CC += bootstrap/lock.cc
|
|
SRC_CC += bootstrap/log.cc
|
|
SRC_CC += bootstrap/platform.cc
|
|
SRC_CC += bootstrap/thread.cc
|
|
SRC_CC += hw/capability.cc
|
|
SRC_CC += lib/base/allocator_avl.cc
|
|
SRC_CC += lib/base/avl_tree.cc
|
|
SRC_CC += lib/base/console.cc
|
|
SRC_CC += lib/base/elf_binary.cc
|
|
SRC_CC += lib/base/heap.cc
|
|
SRC_CC += lib/base/registry.cc
|
|
SRC_CC += lib/base/log.cc
|
|
SRC_CC += lib/base/output.cc
|
|
SRC_CC += lib/base/raw_output.cc
|
|
SRC_CC += lib/base/slab.cc
|
|
SRC_CC += lib/base/sleep.cc
|
|
SRC_CC += lib/base/sliced_heap.cc
|
|
SRC_CC += lib/startup/_main.cc
|
|
|
|
REP_INC_DIR += src/bootstrap
|
|
REP_INC_DIR += src/include
|
|
REP_INC_DIR += src/core/include # for boot_modules.h only
|
|
|
|
# configure multiprocessor mode
|
|
NR_OF_CPUS ?= 1
|
|
CC_OPT += -Wa,--defsym -Wa,NR_OF_CPUS=$(NR_OF_CPUS) -DNR_OF_CPUS=$(NR_OF_CPUS)
|
|
|
|
TMP := $(call select_from_repositories,lib/mk/bootstrap-hw.inc)
|
|
BASE_HW_DIR := $(TMP:%lib/mk/bootstrap-hw.inc=%)
|
|
|
|
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
|
|
vpath lib/muen/% $(BASE_HW_DIR)/src
|
|
vpath lib/base/% $(BASE_DIR)/src
|
|
vpath lib/startup/% $(BASE_DIR)/src
|