mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
tool/depot: make DEPOT_TOOL_DIR customizable
By replacing the formerly hard-coded $(GENODE_DIR)/tool/depot/ by the variable DEPOT_TOOL_DIR, the depot tools can be hosted outside the Genode source tree, i.e., as part of the Goa tool.
This commit is contained in:
committed by
Christian Helmuth
parent
19b6f88c33
commit
b081988e66
@@ -18,15 +18,16 @@ endef
|
||||
|
||||
export GENODE_DIR := $(realpath $(dir $(MAKEFILE_LIST))/../..)
|
||||
|
||||
PUBLIC_DIR ?= $(GENODE_DIR)/public
|
||||
PUBLIC_DIR ?= $(GENODE_DIR)/public
|
||||
DEPOT_TOOL_DIR ?= $(GENODE_DIR)/tool/depot
|
||||
|
||||
include $(GENODE_DIR)/tool/depot/mk/front_end.inc
|
||||
include $(DEPOT_TOOL_DIR)/mk/front_end.inc
|
||||
|
||||
# sanitize arguments
|
||||
ARGS := $(subst ..,__,$(MAKECMDGOALS))
|
||||
|
||||
DEPENDENCIES_CMD = $(GENODE_DIR)/tool/depot/dependencies $(ARGS)
|
||||
DOWNLOAD_CMD = $(GENODE_DIR)/tool/depot/mk/downloader VERBOSE=$(VERBOSE)
|
||||
DEPENDENCIES_CMD = $(DEPOT_TOOL_DIR)/dependencies $(ARGS)
|
||||
DOWNLOAD_CMD = $(DEPOT_TOOL_DIR)/mk/downloader VERBOSE=$(VERBOSE)
|
||||
|
||||
.PHONY: download
|
||||
download:
|
||||
|
||||
Reference in New Issue
Block a user