[PATHv2 9/9] Makefile: add dtbs to clean

Simon Glass sjg at chromium.org
Tue Dec 26 10:50:15 CET 2023


Hi Maxim,

On Mon, Dec 25, 2023 at 3:42 PM Maxim Uvarov <maxim.uvarov at linaro.org> wrote:
>
> CI test checks that generated dtb has to be cleaned up.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>
> ---
>  Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 220411a293..ab603191ad 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2165,7 +2165,8 @@ CLEAN_FILES += include/autoconf.mk* include/bmp_logo.h include/bmp_logo_data.h \
>                mkimage-out.spl.mkimage mkimage.spl.mkimage imx-boot.map \
>                itb.fit.fit itb.fit.itb itb.map spl.map mkimage-out.rom.mkimage \
>                mkimage.rom.mkimage mkimage-in-simple-bin* rom.map simple-bin* \
> -              idbloader-spi.img lib/efi_loader/helloworld_efi.S *.itb
> +              idbloader-spi.img lib/efi_loader/helloworld_efi.S *.itb \
> +              ./*/*.dtb *.dtb
>
>  # Directories & files removed with 'make mrproper'
>  MRPROPER_DIRS  += include/config include/generated spl tpl vpl \
> --
> 2.30.2
>

Shouldn't this be handled with CLEAN_FILES in arch/xxx/dts ?

Regards,
Simon


More information about the U-Boot mailing list