summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Marie <cedric.marie@openmailbox.org>2015-10-08 22:03:37 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-10-29 00:04:05 +0100
commit474d39a1ffad52618e2d1f0afcd527a5aadd5ec1 (patch)
treef48de842f4a5da44a5e9e59b16aa3802848f3762
parent50f44d877e5246198e692ecab3579ec36779da74 (diff)
downloadbuildroot-474d39a1ffad52618e2d1f0afcd527a5aadd5ec1.tar.gz
buildroot-474d39a1ffad52618e2d1f0afcd527a5aadd5ec1.zip
Makefile: Remove 'quiet' variable
'quiet' variable is set and exported, but it is not used. We can safely remove it. This variable is inherited from the Makefile of the Linux kernel, and is not used in Buildroot. In support/scripts/mkmakefile, 'quiet' value is checked, but the test is always true ('quiet' is never set to silent_), so the test can be removed as well. Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org> Reviewed-by: "James Knight" <james.d.knight@live.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile4
-rwxr-xr-xsupport/scripts/mkmakefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index dd8959f019..8e3f6572d5 100644
--- a/Makefile
+++ b/Makefile
@@ -228,14 +228,12 @@ ifndef KBUILD_VERBOSE
endif
ifeq ($(KBUILD_VERBOSE),1)
- quiet =
Q =
ifndef VERBOSE
VERBOSE = 1
endif
export VERBOSE
else
- quiet = quiet_
Q = @
endif
@@ -247,7 +245,7 @@ SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
# kconfig uses CONFIG_SHELL
CONFIG_SHELL := $(SHELL)
-export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE
+export SHELL CONFIG_SHELL Q KBUILD_VERBOSE
ifndef HOSTAR
HOSTAR := ar
diff --git a/support/scripts/mkmakefile b/support/scripts/mkmakefile
index 833be6a92c..37162a3173 100755
--- a/support/scripts/mkmakefile
+++ b/support/scripts/mkmakefile
@@ -15,9 +15,7 @@ if test -e $2/Makefile && ! grep -q Automatically $2/Makefile
then
exit 0
fi
-if [ "${quiet}" != "silent_" ]; then
- echo " GEN $2/Makefile"
-fi
+echo " GEN $2/Makefile"
cat << EOF > $2/Makefile
# Automatically generated by $0: don't edit
OpenPOWER on IntegriCloud