Check for required tools on 'make prepare'

Fixes #221.
This commit is contained in:
Christian Helmuth
2012-05-25 12:13:05 +02:00
parent 06fdc7b897
commit 36ae42b8ff
17 changed files with 127 additions and 5 deletions

View File

@@ -33,6 +33,14 @@ PATCHES = qt4_genode.patch \
qt4_renderwidget.patch \
qt4_include_time_h.patch
#
# Utility to check if a tool is installed
#
check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
$(call check_tool,wget)
$(call check_tool,patch)
help:
$(ECHO)
$(ECHO) "Prepare the Qt4 repository"