diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2019-01-23 23:02:20 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2019-04-21 06:25:26 +0300 |
commit | 6fe7e9eab41484330b23e7cdc98bcbda84cfab3f (patch) | |
tree | ae5868bf0deefe8b4a66979b9162e92b41cd21e1 /Makefile.config | |
parent | f07bd47fde59ebd14b1a830907c5259532fa5e3f (diff) |
Makefile.config: don't silent twice
Here $(Q) is substituted with either @ or nothing, depending on
whether V is set, to either have verbose output or not. So, it does
not make sense to add another @.
Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.config b/Makefile.config index d89ccbb1a..a853705b3 100644 --- a/Makefile.config +++ b/Makefile.config @@ -44,24 +44,24 @@ FEATURES_LIST := TCP_REPAIR STRLCPY STRLCAT PTRACE_PEEKSIGINFO \ # $1 - config name define gen-feature-test ifeq ($$(call try-cc,$$(FEATURE_TEST_$(1)),$$(LIBS_FEATURES),$$(DEFINES)),true) - $(Q) @echo '#define CONFIG_HAS_$(1)' >> $$@ - $(Q) @echo '' >> $$@ + $(Q) echo '#define CONFIG_HAS_$(1)' >> $$@ + $(Q) echo '' >> $$@ endif endef define config-header-rule $(CONFIG_HEADER): scripts/feature-tests.mak $(CONFIG_FILE) - $$(call msg-gen, $$@) - $(Q) @echo '#ifndef __CR_CONFIG_H__' > $$@ - $(Q) @echo '#define __CR_CONFIG_H__' >> $$@ - $(Q) @echo '' >> $$@ + $(call msg-gen, $$@) + $(Q) echo '#ifndef __CR_CONFIG_H__' > $$@ + $(Q) echo '#define __CR_CONFIG_H__' >> $$@ + $(Q) echo '' >> $$@ $(call map,gen-feature-test,$(FEATURES_LIST)) - $(Q) @cat $(CONFIG_FILE) | sed -n -e '/^[^#]/s/^/#define CONFIG_/p' >> $$@ + $(Q) cat $(CONFIG_FILE) | sed -n -e '/^[^#]/s/^/#define CONFIG_/p' >> $$@ ifeq ($$(VDSO),y) - $(Q) @echo '#define CONFIG_VDSO' >> $$@ - $(Q) @echo '' >> $$@ + $(Q) echo '#define CONFIG_VDSO' >> $$@ + $(Q) echo '' >> $$@ endif - $(Q) @echo '#endif /* __CR_CONFIG_H__ */' >> $$@ + $(Q) echo '#endif /* __CR_CONFIG_H__ */' >> $$@ endef $(eval $(config-header-rule)) |