summaryrefslogtreecommitdiff
path: root/include/prereq.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-28 01:23:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-28 01:23:56 +0000
commit800ef0f56ca5971811267b5639c7895c2d569491 (patch)
tree4223d1f8eb3174463a4f20bc90c8e68d6eb13b19 /include/prereq.mk
parentbb402acf616778e36b0d0b24c71167407875fea5 (diff)
downloadmtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.zip
mtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.tar.gz
mtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.tar.bz2
some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
Diffstat (limited to 'include/prereq.mk')
-rw-r--r--include/prereq.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index 8e5490c..4a55c89 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -5,6 +5,9 @@
# See /LICENSE for more information.
#
+ifneq ($(__prereq_inc),1)
+__prereq_inc:=1
+
prereq:
if [ -f $(TMP_DIR)/.prereq-error ]; then \
echo; \
@@ -15,6 +18,7 @@ prereq:
fi
.SILENT: prereq
+endif
define Require
export PREREQ_CHECK=1