2 # Copyright (C) 2006-2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 ifneq ($(__prereq_inc
),1)
12 if
[ -f
$(TMP_DIR
)/.prereq-error
]; then \
14 cat
$(TMP_DIR
)/.prereq-error
; \
15 rm -f
$(TMP_DIR
)/.prereq-error
; \
25 ifeq ($$(CHECK_
$(1)),)
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
"$(PKG_NAME): $(strip $(2))" | perl
-ne
's/\\\s*/\n/g,print' >> $(TMP_DIR
)/.prereq-error
; \
41 .SILENT
: prereq-
$(1) check-
$(1)
51 $$(eval
$$(call Require
,$(1),$(2)))
59 $$(eval
$$(call Require
,$(1),$(2)))
This page took 0.053985 seconds and 5 git commands to generate.