]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kbuild: Fix cleanup of VPL
authorTobias Deiminger <tdmg@linutronix.de>
Mon, 19 Jun 2023 22:41:04 +0000 (00:41 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jul 2023 20:25:56 +0000 (16:25 -0400)
VPL artifacts like example vpl/u-boot-vpl are currently not removed by
'make clean'.

We can clean them just as it's already done for SPL and TPL.

Fixes: f86ca5ad8f78 ("Introduce Verifying Program Loader (VPL)")
Signed-off-by: Tobias Deiminger <tdmg@linutronix.de>
Makefile

index 813ad3e6732c413cdee72e9994a50e94e84d6fbd..8d9aef464d0fd1598dbf62e3c0fecd333d27111e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2152,7 +2152,7 @@ CHANGELOG:
 
 # Directories & files removed with 'make clean'
 CLEAN_DIRS  += $(MODVERDIR) \
-              $(foreach d, spl tpl, $(patsubst %,$d/%, \
+              $(foreach d, spl tpl vpl, $(patsubst %,$d/%, \
                        $(filter-out include, $(shell ls -1 $d 2>/dev/null))))
 
 CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h \
@@ -2167,7 +2167,7 @@ CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h \
               idbloader-spi.img lib/efi_loader/helloworld_efi.S
 
 # Directories & files removed with 'make mrproper'
-MRPROPER_DIRS  += include/config include/generated spl tpl \
+MRPROPER_DIRS  += include/config include/generated spl tpl vpl \
                  .tmp_objdiff doc/output include/asm
 
 # Remove include/asm symlink created by U-Boot before v2014.01