mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
base: add check_tool utility to build system
Fix genodelabs/genode#5213
This commit is contained in:
parent
dbd070b815
commit
f0ec1adcd3
@ -69,3 +69,8 @@ select_from_ports = $(call _checked_port_dir,$1)
|
||||
else
|
||||
select_from_ports = $(REP_DIR)
|
||||
endif
|
||||
|
||||
#
|
||||
# Utility to check for availability of a tool
|
||||
#
|
||||
check_tool = $(if $(shell command -v $(1)),,$(error Need to have '$(1)' installed.))
|
||||
|
Loading…
Reference in New Issue
Block a user