On 2026-05-04T13:20:27, Quentin Schulz <[email protected]> wrote: > Makefile: move deprecated-non-prototype to scripts/Makefile.extrawarn.u-boot > > This option is specific to U-Boot and was added back in > commit 52ee1a0294e8 ("global: Disable deprecated-non-prototype warning > with clang"). It was added next to other flags which are imported from > the Linux kernel Makefile. This makes it unnecessarily hard to backport > patches from that project since we'll always have a difference in the > git context. > > So, move this to the new scripts/Makefile.extrawarn.u-boot file where we > can store everything that is U-Boot-specific and lower the efforts for > syncing with the Linux kernel for Makefile. > > Signed-off-by: Quentin Schulz <[email protected]> > > Makefile | 1 - > scripts/Makefile.extrawarn.u-boot | 18 ++++++++++++++++++ > 2 files changed, 18 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <[email protected]>

