]> git.dujemihanovic.xyz Git - u-boot.git/commit
kbuild: cherry-pick kbuild fdtoverlay changes from linux
authorPrasad Kummari <prasad.kummari@amd.com>
Fri, 6 Sep 2024 07:08:07 +0000 (12:38 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 20 Sep 2024 06:31:57 +0000 (08:31 +0200)
commit10de9b5a6a5b53a37600894115685f00d3bbfc2d
tree2d35617a584af37f57bdc0df832044f075f26473
parenta268b53be05bbd13d8e3bf9af9102d8efe847f2e
kbuild: cherry-pick kbuild fdtoverlay changes from linux

Linux commits:
15d16d6dadf6 kbuild: Add generic rule to apply fdtoverlay
44f87191d105 kbuild: parameterize the .o part of suffix-search

The Linux commit 15d16d6dadf6 adds 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

Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20240906070808.1045991-2-prasad.kummari@amd.com
arch/arm/dts/Makefile
scripts/Kbuild.include
scripts/Makefile.build
scripts/Makefile.lib