[PATCH 1/2] kbuild: Add generic rule to apply fdtoverlay
Tom Rini
trini at konsulko.com
Tue Sep 3 21:53:48 CEST 2024
On Tue, Sep 03, 2024 at 05:21:51PM +0530, Prasad Kummari wrote:
> Add a generic rule in Makefile.lib to automatically apply
> fdtoverlay, so that each platform doesn't need to include
> a complex rule. This also automatically appends
> DTC_FLAGS_foo_base += -@ to all base files.
>
> The platform's Makefile only needs to have this now:
>
> foo-dtbs := foo_base.dtb foo_overlay1.dtbo foo_overlay2.dtbo
> dtb-y := foo.dtb
>
> The suffix-search macro hard-codes the suffix, '.o' and
> multi-search and real-search macros can be used for foo-dtbs,
> multi-dtb-y is a list of DTB constructed overlays, and base-dtb-y
> contains a list of base dtb.
>
> Reference:
> https://lore.kernel.org/all/20920b0df6b067aca4040459a9677d7d1d6d766a.1615354376.git.viresh.kumar@linaro.org/
>
> Signed-off-by: Prasad Kummari <prasad.kummari at amd.com>
This really needs to be rephrased to be clear that you're
cherry-picking:
commit 15d16d6dadf6947ac7f9a686c615995c5a426ce2
Author: Rob Herring <robh at kernel.org>
Date: Wed Mar 10 11:05:30 2021 +0530
kbuild: Add generic rule to apply fdtoverlay
out of the Linux kernel. We have other cherry-picks, just look at git
log on scripts/Makefile.lib.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240903/a1a8d4c8/attachment.sig>
More information about the U-Boot
mailing list