arm: mvebu: Generate kwbimage.cfg with $(call cmd, ...)
authorPali Rohár <pali@kernel.org>
Wed, 12 Jan 2022 17:20:39 +0000 (18:20 +0100)
committerStefan Roese <sr@denx.de>
Fri, 14 Jan 2022 10:39:16 +0000 (11:39 +0100)
commit6329d4402e06529f9c2aaa6d76a4869a20ed7afd
treea6cae1927793ffe2674c14f2dca76631e0785c6f
parent3db9c417688f0f6f2239c52ca6f847f3db5ec23a
arm: mvebu: Generate kwbimage.cfg with $(call cmd, ...)

Usage of $(call cmd,...) is standard way to call other commands which
generate things.

It also has the advantage of printing build information in the form
  KWBCFG  arch/arm/mach-mvebu/kwbimage.cfg
if verbosity is disabled, and printing the build command otherwise.

Note that the '#' character needs to be escaped in Makefile when used as
value for make variable assignment.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Makefile