mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 01:11:06 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
12 lines
373 B
Makefile
12 lines
373 B
Makefile
#
|
|
# Create symlink to elfweaver so that the run tool can use it from within the
|
|
# build directory.
|
|
#
|
|
OKL4_DIR := $(call select_from_ports,okl4)/src/kernel/okl4
|
|
HOST_TOOLS += $(BUILD_BASE_DIR)/tool/okl4/elfweaver
|
|
|
|
$(BUILD_BASE_DIR)/tool/okl4/elfweaver:
|
|
$(VERBOSE)mkdir -p $(dir $@)
|
|
$(VERBOSE)cp -a $(OKL4_DIR)/tools/pyelf $(dir $@)/
|
|
$(VERBOSE)ln -sf pyelf/elfweaver $@
|