mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-03 17:23:05 +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
|
else
|
||||||
select_from_ports = $(REP_DIR)
|
select_from_ports = $(REP_DIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Utility to check for availability of a tool
|
||||||
|
#
|
||||||
|
check_tool = $(if $(shell command -v $(1)),,$(error Need to have '$(1)' installed.))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user