Re: [PATCH V5 4/5] kbuild: Add support to build overlays (%.dtbo)
From: Frank Rowand <hidden>
Date: 2021-01-21 05:43:04
Also in:
linux-kbuild, lkml
From: Frank Rowand <hidden>
Date: 2021-01-21 05:43:04
Also in:
linux-kbuild, lkml
On 1/20/21 10:13 PM, Viresh Kumar wrote:
On 21-01-21, 11:49, David Gibson wrote:quoted
If you're using overlays, you probably need the -@ flag, for both the base file and the overlays, which AFAICT is not already the case.I think the idea was to do that in the platform specific Makefiles, unless I have misunderstood that from earlier discussions. So a platform may want to do that per-file or just enable it for the entire platform.
Yes, that is correct. For drivers/of/unitest-data/Makefile, we have entries like: DTC_FLAGS_overlay += -@ DTC_FLAGS_overlay_bad_phandle += -@ DTC_FLAGS_overlay_bad_symbol += -@ DTC_FLAGS_overlay_base += -@ DTC_FLAGS_testcases += -@ -Frank