[PATCH 1/1] 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 \

On Wed, 30 Mar 2022 12:11:00 +0200 Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
'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
I also noticed this :)
Reviewed-by: Marek Behún marek.behun@nic.cz

On Wed, Mar 30, 2022 at 12:11:00PM +0200, Heinrich Schuchardt wrote:
'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
Applied to u-boot/master, thanks!
participants (3)
-
Heinrich Schuchardt
-
Marek Behún
-
Tom Rini