[PATCH RFC next 06/18] Makefile: move deprecated-non-prototype to scripts/Makefile.extrawarn.u-boot

Simon Glass sjg at chromium.org
Mon May 4 22:30:36 CEST 2026


On 2026-05-04T13:20:27, Quentin Schulz <foss+uboot at 0leil.net> 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 <quentin.schulz at cherry.de>
>
> Makefile                          |  1 -
>  scripts/Makefile.extrawarn.u-boot | 18 ++++++++++++++++++
>  2 files changed, 18 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list