summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-05 12:39:52 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-05 12:39:52 +0000
commitcf807efd13ca47672871d0c50d23274fe34c3114 (patch)
tree6b03cb6970fc37cbfc9c1431cb3e05bba369533a /include
parent2347229ddd150b425c9617dabfe6ae7e2bcc53eb (diff)
speed up package prereq check (only run make on those directories that actually contain prereq checks)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk3
-rw-r--r--include/prereq.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 709bb44155..3f2f7d41be 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -163,13 +163,14 @@ define BuildPackage
endif
DUMPINFO += \
+ if [ "$$$$PREREQ_CHECK" = 1 ]; then echo "Prereq-Check: 1"; fi; \
echo "Version: $(VERSION)"; \
echo "Depends: $$(IDEPEND_$(1))"; \
echo "Build-Depends: $(PKG_BUILDDEP)"; \
echo "Category: $(CATEGORY)"; \
echo "Title: $(TITLE)"; \
echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n,g';
-
+
ifneq ($(URL),)
DUMPINFO += \
echo; \
diff --git a/include/prereq.mk b/include/prereq.mk
index c9b82d2947..eda7ca35a6 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -22,6 +22,7 @@ prereq:
.SILENT: $(TMP_DIR) prereq
define Require
+ export PREREQ_CHECK=1
ifeq ($$(CHECK_$(1)),)
prereq: prereq-$(1)