aboutsummaryrefslogtreecommitdiffstats
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
commit499485004b52b5960c950922fb1dedcedd0923fa (patch)
tree78a221d6379016a74f33e2257e609a7194db7f27 /include/prereq.mk
parentd2c8e2185055230a43bafaa28017dc11ee40d927 (diff)
downloadupstream-499485004b52b5960c950922fb1dedcedd0923fa.tar.gz
upstream-499485004b52b5960c950922fb1dedcedd0923fa.tar.bz2
upstream-499485004b52b5960c950922fb1dedcedd0923fa.zip
some minor fixes, cleanups, package build abstraction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 8e5490ccff..4a55c89ffc 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