kbuild: Simplify builds with CONFIG_OF_ALL_DTBS
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Mar 2021 05:35:29 +0000 (11:05 +0530)
committerRob Herring <robh@kernel.org>
Tue, 23 Mar 2021 21:27:51 +0000 (15:27 -0600)
commit9ca29e41508e97bec2f45c7f9b79108107d6b3d5
tree6bfc854794a484e60317ef7c5e8ec66e331d00ab
parent3b2e006220dfe5c59ff2fe243aaf01d038c12ccf
kbuild: Simplify builds with CONFIG_OF_ALL_DTBS

We update 'always-y' based on CONFIG_OF_ALL_DTBS three times. It would be
far more straight forward if we rather update dtb-y to include all .dtb
files if CONFIG_OF_ALL_DTBS is enabled.

Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Tested-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/7fe7e5ef6ed75450ddf6c224b8adb53059e504e2.1615354376.git.viresh.kumar@linaro.org
scripts/Makefile.lib