Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot: package project
Date: Tue, 21 Oct 2008 01:56:26 -0700 (PDT)	[thread overview]
Message-ID: <20081021085626.D8EBA3C6C2@busybox.net> (raw)

Author: jacmet
Date: 2008-10-21 01:56:26 -0700 (Tue, 21 Oct 2008)
New Revision: 23750

Log:
buildroot: add QUIET variable and use it for wget/git/svn/configure

A lot of tools take a -q option to be quiet.
Set this if make is called with the -s (silent) option and use for
wget, git, svn and configure.

Modified:
   trunk/buildroot/package/Makefile.autotools.in
   trunk/buildroot/project/Makefile.in


Changeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================
--- trunk/buildroot/package/Makefile.autotools.in	2008-10-21 08:56:15 UTC (rev 23749)
+++ trunk/buildroot/package/Makefile.autotools.in	2008-10-21 08:56:26 UTC (rev 23750)
@@ -225,8 +225,7 @@
 		--prefix=/usr \
 		--exec-prefix=/usr \
 		--sysconfdir=/etc \
-		$(if $(findstring s,$(MAKEFLAGS)),--quiet,) \
-		$($(PKG)_CONF_OPT)
+		$(QUIET) $($(PKG)_CONF_OPT)
 	$(Q)touch $@
 
 # Build

Modified: trunk/buildroot/project/Makefile.in
===================================================================
--- trunk/buildroot/project/Makefile.in	2008-10-21 08:56:15 UTC (rev 23749)
+++ trunk/buildroot/project/Makefile.in	2008-10-21 08:56:26 UTC (rev 23750)
@@ -5,17 +5,19 @@
 BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
 #"))
 
+# silent mode requested?
+QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q,)
 
 # Strip off the annoying quoting
 ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
 #"))
-WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER)
+WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER) $(QUIET)
 #"))
-SVN_CO:=$(strip $(subst ",, $(BR2_SVN_CO)))
+SVN_CO:=$(strip $(subst ",, $(BR2_SVN_CO))) $(QUIET)
 #"))
-SVN_UP:=$(strip $(subst ",, $(BR2_SVN_UP)))
+SVN_UP:=$(strip $(subst ",, $(BR2_SVN_UP))) $(QUIET)
 #"))
-GIT:=$(strip $(subst ",, $(BR2_GIT)))
+GIT:=$(strip $(subst ",, $(BR2_GIT))) $(QUIET)
 #"))
 ZCAT:=$(strip $(subst ",, $(BR2_ZCAT)))
 #"))
@@ -24,7 +26,6 @@
 TAR_OPTIONS=$(subst ",, $(BR2_TAR_OPTIONS)) -xf
 #")
 
-
 # Buildroot supports building out of tree similarly to the Linux kernel.
 # To use, add O= to the make command line (make O=/tmp/build)
 BASE_DIR:=$(shell pwd)

             reply	other threads:[~2008-10-21  8:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21  8:56 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-21 17:56 [Buildroot] svn commit: trunk/buildroot: package project aldot at uclibc.org
2007-08-21 17:14 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081021085626.D8EBA3C6C2@busybox.net \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox