2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
12 if
[ -f
$(TMP_DIR
)/.prereq-error
]; then \
14 cat
$(TMP_DIR
)/.prereq-error
; \
22 .SILENT
: $(TMP_DIR
) prereq
25 ifeq ($$(CHECK_
$(1)),)
28 prereq-
$(1): $(TMP_DIR
) FORCE
29 echo
-n
"Checking '$(1)'... "
30 if
$(NO_TRACE_MAKE
) -f
$(firstword $(MAKEFILE_LIST
)) check-
$(1) >/dev
/null
2>/dev
/null
; then \
34 echo
-e
"$(strip $(2))" >> $(TMP_DIR
)/.prereq-error
; \
41 .SILENT
: prereq-
$(1) check-
$(1)
51 $$(eval
$$(call Require
,$(1),$(2)))
This page took 0.050207 seconds and 5 git commands to generate.