mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
30b8f4efc8
The CBE repository contained a lot of Genode-specific code despite the fact that the CBE core logic is not bound to Genode in any way. Therefore the Genode-specific CBE code is moved to the 'gems' repository to form part of Genode mainline. The remaining CBE code becomes a port in Genode instead of being invoked as sub-repository. The commit combines the following work steps: * add all files removed from CBE repository * add CBE port files * make all CBE libs and targets build again * make all CBE run scripts succeed again * make all CBE recipes build again * make CBE autopilot succeed again * let CBE autopilot use 'libsparcrypto' contrib dir and Genode build dir instead of '.ci' dir in CBE contrib dir (remove '.ci' dir from CBE repo) * let CBE autopilot always check for all ports * make CBE autopilot directly executable * fix license headers in all Genode CBE files * remove unused VFS replay component * remove unused CBE test * remove unused external crypto * remove unused files in run dir * remove unused external trust anchor * add cbe_tester test to autopilot list * get rid of directories 'include/cbe_*' and 'include/utils' Fixes #3937
21 lines
597 B
PHP
21 lines
597 B
PHP
ifeq ($(called_from_lib_mk),yes)
|
|
|
|
CUSTOM_BINDER_FLAGS ?= -n -we -D768k
|
|
|
|
ALIS := $(addsuffix .ali, $(basename $(SRC_ADS) $(SRC_ADB)))
|
|
ALI_DIRS := $(foreach LIB,$(LIBS),$(call select_from_repositories,lib/ali/$(LIB)))
|
|
BINDER_SEARCH_DIRS = $(addprefix -I$(BUILD_BASE_DIR)/var/libcache/, $(LIBS)) $(addprefix -aO, $(ALI_DIRS))
|
|
|
|
# declare after(!) $(ALIS) was evaluated
|
|
SRC_ADB += b~$(LIB).adb
|
|
|
|
BINDER_SRC := b~$(LIB).adb
|
|
|
|
$(BINDER_SRC): $(ALIS)
|
|
$(VERBOSE)$(GNATBIND) $(CUSTOM_BINDER_FLAGS) $(BINDER_SEARCH_DIRS) \
|
|
$(INCLUDES) --RTS=$(ADA_RTS) -L$(LIB)_ -o $@ $^
|
|
|
|
all: $(BINDER_SRC)
|
|
|
|
endif
|