From cf807efd13ca47672871d0c50d23274fe34c3114 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 5 Oct 2006 12:39:52 +0000 Subject: 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 --- include/package.mk | 3 ++- include/prereq.mk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/package.mk b/include/package.mk index 709bb4415..3f2f7d41b 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 c9b82d294..eda7ca35a 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) -- cgit v1.2.3