core/pkg-kconfig: fix .config rule for silent mode
authorRomain Izard <romain.izard.pro@gmail.com>
Tue, 29 Mar 2016 10:11:41 +0000 (12:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 29 Mar 2016 14:42:48 +0000 (16:42 +0200)
Ensure that each command line in the .config rule is prefixed by $$(Q)

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-kconfig.mk

index 90f3f9faeb08f12141123edcd9e80217fd4db8ca..94ec3cc3a1a58f7cc9f5e8a0dbc127d0dc4a89cc 100644 (file)
@@ -63,11 +63,11 @@ $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch
 # full .config first. We use 'make oldconfig' because this can be safely
 # done even when the package does not support defconfigs.
 $$($(2)_DIR)/.config: $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES)
-       $$(if $$($(2)_KCONFIG_DEFCONFIG), \
+       $$(Q)$$(if $$($(2)_KCONFIG_DEFCONFIG), \
                $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_DIR) \
                        $$($(2)_KCONFIG_OPTS) $$($(2)_KCONFIG_DEFCONFIG), \
                cp $$($(2)_KCONFIG_FILE) $$(@))
-       support/kconfig/merge_config.sh -m -O $$(@D) \
+       $$(Q)support/kconfig/merge_config.sh -m -O $$(@D) \
                $$(@) $$($(2)_KCONFIG_FRAGMENT_FILES)
        $$(Q)yes "" | $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_DIR) \
                $$($(2)_KCONFIG_OPTS) oldconfig