core/pkg-kconfig: Do not use $(call ...) without parameters
authorRomain Izard <romain.izard.pro@gmail.com>
Mon, 18 Apr 2016 09:23:02 +0000 (11:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Apr 2016 21:17:13 +0000 (23:17 +0200)
When there are no parameters, simply use $(var) instead of $(call var)

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-kconfig.mk

index cb177bb2cb37e15a5a79385b1b6f055b2f6161ed..40339150c47cec1f233151b2af7ef7e41110ad68 100644 (file)
@@ -87,7 +87,7 @@ define $(2)_FIXUP_DOT_CONFIG
 endef
 
 $$($(2)_DIR)/.stamp_kconfig_fixup_done: $$($(2)_DIR)/.config
-       $$(call $(2)_FIXUP_DOT_CONFIG)
+       $$($(2)_FIXUP_DOT_CONFIG)
 
 # Before running configure, the configuration file should be present and fixed
 $$($(2)_TARGET_CONFIGURE): $$($(2)_DIR)/.stamp_kconfig_fixup_done
@@ -139,7 +139,7 @@ $$($(2)_DIR)/.kconfig_editor_%: $$($(2)_DIR)/.stamp_kconfig_fixup_done
                $$($(2)_KCONFIG_OPTS) $$(*)
        rm -f $$($(2)_DIR)/.stamp_{kconfig_fixup_done,configured,built}
        rm -f $$($(2)_DIR)/.stamp_{target,staging,images}_installed
-       $$(call $(2)_FIXUP_DOT_CONFIG)
+       $$($(2)_FIXUP_DOT_CONFIG)
 
 # Saving back the configuration
 #