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
26 ifeq ($$(CHECK_
$(1)),)
29 prereq-
$(1): $(TMP_DIR
) FORCE
30 echo
-n
"Checking '$(1)'... "
31 if
$(NO_TRACE_MAKE
) -f
$(firstword $(MAKEFILE_LIST
)) check-
$(1) >/dev
/null
2>/dev
/null
; then \
35 echo
-e
"$(strip $(2))" >> $(TMP_DIR
)/.prereq-error
; \
42 .SILENT
: prereq-
$(1) check-
$(1)
52 $$(eval
$$(call Require
,$(1),$(2)))
This page took 0.05285 seconds and 5 git commands to generate.