mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
depot: fix Makefile target build_bin_archive
When building with multiple jobs, the 'Makefile' rule may be executed before any of its sibling rules, which implicitly create the target directory. In this case, the attempt to create the symlink for 'Makefile' fails and the 'build_bin_archive' aborts. Analogously to the sibling rules, this fix creates the target directory as a side effect of the 'Makefile' rule.
This commit is contained in:
parent
4c8bfceec4
commit
2b569e37e1
@ -171,6 +171,7 @@ $(TOOLS_CONF):
|
||||
$(VERBOSE)cp $(GENODE_DIR)/repos/base/etc/tools.conf $@
|
||||
|
||||
$(BUILD_MK):
|
||||
$(VERBOSE)mkdir -p $(dir $@)
|
||||
$(VERBOSE)ln -sf $(GENODE_DIR)/tool/builddir/build.mk $@
|
||||
|
||||
$(BUILD_CONF) $(SPECS_CONF) $(TOOLS_CONF) $(BUILD_MK): wiped_build_dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user