From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Wed, 30 Mar 2022 10:11:00 +0000 (+0200)
Subject: Makefile: make clean should delete include/generated/env.in
X-Git-Tag: v2025.01-rc5-pxa1908~1484^2~3
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B?a=commitdiff_plain;h=6a56fc0ab415423a0fb6f410d846d4b68806a238;p=u-boot.git

Makefile: make clean should delete include/generated/env.in

'make sifive_unamtched_defconfig; make clean; make' fails if file
include/generated/env.in exists. 'make clean' should remove all files that
stop building.

Add file include/generated/env.in to the clean target.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
---

diff --git a/Makefile b/Makefile
index 6998388884..c1d4702a4e 100644
--- a/Makefile
+++ b/Makefile
@@ -2187,8 +2187,8 @@ CLEAN_DIRS  += $(MODVERDIR) \
 			$(filter-out include, $(shell ls -1 $d 2>/dev/null))))
 
 CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h \
-	       drivers/video/u_boot_logo.S tools/version.h \
-	       u-boot* MLO* SPL System.map fit-dtb.blob* \
+	       include/generated/env.in drivers/video/u_boot_logo.S \
+	       tools/version.h u-boot* MLO* SPL System.map fit-dtb.blob* \
 	       u-boot-ivt.img.log u-boot-dtb.imx.log SPL.log u-boot.imx.log \
 	       lpc32xx-* bl31.c bl31.elf bl31_*.bin image.map tispl.bin* \
 	       idbloader.img flash.bin flash.log defconfig keep-syms-lto.c \