mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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.
This commit is contained in:
parent
02cfe523e8
commit
43af3d3578
@ -225,8 +225,7 @@ $(BUILD_DIR)/%/.stamp_configured:
|
|||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
$(if $(findstring s,$(MAKEFLAGS)),--quiet,) \
|
$(QUIET) $($(PKG)_CONF_OPT)
|
||||||
$($(PKG)_CONF_OPT)
|
|
||||||
$(Q)touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
|
@ -5,17 +5,19 @@ TARGET_HOSTNAME:=$(strip $(subst ",,$(BR2_HOSTNAME)))
|
|||||||
BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
|
BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
|
||||||
#"))
|
#"))
|
||||||
|
|
||||||
|
# silent mode requested?
|
||||||
|
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q,)
|
||||||
|
|
||||||
# Strip off the annoying quoting
|
# Strip off the annoying quoting
|
||||||
ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
|
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)))
|
ZCAT:=$(strip $(subst ",, $(BR2_ZCAT)))
|
||||||
#"))
|
#"))
|
||||||
@ -24,7 +26,6 @@ BZCAT:=$(strip $(subst ",, $(BR2_BZCAT)))
|
|||||||
TAR_OPTIONS=$(subst ",, $(BR2_TAR_OPTIONS)) -xf
|
TAR_OPTIONS=$(subst ",, $(BR2_TAR_OPTIONS)) -xf
|
||||||
#")
|
#")
|
||||||
|
|
||||||
|
|
||||||
# Buildroot supports building out of tree similarly to the Linux kernel.
|
# Buildroot supports building out of tree similarly to the Linux kernel.
|
||||||
# To use, add O= to the make command line (make O=/tmp/build)
|
# To use, add O= to the make command line (make O=/tmp/build)
|
||||||
BASE_DIR:=$(shell pwd)
|
BASE_DIR:=$(shell pwd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user