[boot-wrapper PATCH v3] Makefile: avoid dtc warnings on re-compiling DTB

Mark Rutland mark.rutland at arm.com
Tue Feb 1 04:14:14 PST 2022


On Mon, Jan 31, 2022 at 04:31:22PM +0000, Andre Przywara wrote:

[...]

> To avoid the lengthy list of warnings, just drop those checks from the
> dtc compilation run. This disables more checks than we want or need, but
> we somewhat trust in the original DTB to be sane, so that should be
> fine.
> Since those warning options are not supported by older dtc versions,
> introduce a compatiblity check before using them.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
> Hi,
> 
> this replaces the reverted version of the patch, adding runtime detection
> of dtc's compatibility.
> Works fine with a clueless dtc 1.4.1.

Thanks; applied.

Mark.



More information about the linux-arm-kernel mailing list