mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
prepare_port sel4: check required python modules
This prevents undescriptive errors when building sel4. Ref #2490
This commit is contained in:
committed by
Christian Helmuth
parent
64377f4b80
commit
abc80b7782
@@ -25,6 +25,11 @@ STRICT_HASH ?= no
|
||||
#
|
||||
check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
|
||||
|
||||
#
|
||||
# Utility to check if a python module is installed
|
||||
#
|
||||
check_python_module = $(if $(shell python -c "import $(1)" 2>&1),$(error Need to have python module '$(1)' installed.),)
|
||||
|
||||
default:
|
||||
|
||||
.NOTPARALLEL: default
|
||||
|
||||
Reference in New Issue
Block a user