[PATCH 1/1] Makefile: add build-sandbox*/ to mrproper target

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Fri May 17 17:15:34 CEST 2024


make mrproper should remove all build artefacts.

Running make tests without deleting build-sandbox led to an error

    *** No rule to make target '../include/common.h',
    needed by 'include/config/auto.conf'.

on my machine.

Let's add the build-sandbox*/ directories to the mrproper target.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 44deb339af1..179cce9c0a1 100644
--- a/Makefile
+++ b/Makefile
@@ -2204,7 +2204,7 @@ CLEAN_FILES += include/autoconf.mk* include/bmp_logo.h include/bmp_logo_data.h \
 	       Test* capsule.*.efi-capsule capsule*.map
 
 # Directories & files removed with 'make mrproper'
-MRPROPER_DIRS  += include/config include/generated spl tpl vpl \
+MRPROPER_DIRS  += build-sandbox* include/config include/generated spl tpl vpl \
 		  .tmp_objdiff doc/output include/asm
 
 # Remove include/asm symlink created by U-Boot before v2014.01
-- 
2.43.0



More information about the U-Boot mailing list