mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base: add check_tool utility to build system
Fix genodelabs/genode#5213
This commit is contained in:
committed by
Christian Helmuth
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.))
|
||||
|
||||
Reference in New Issue
Block a user