[U-Boot] [PATCH 1/1] Makefile: clean should delete *.so

Heinrich Schuchardt xypron.glpk at gmx.de
Thu May 24 17:34:45 UTC 2018


Files *.so are generated files. So the clean target should delete them.

Reported-by: Alexander Graf <agraf at suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ac2624cef8a..cdca1dbe900 100644
--- a/Makefile
+++ b/Makefile
@@ -1620,7 +1620,7 @@ clean: $(clean-dirs)
 		-o -name '*.symtypes' -o -name 'modules.order' \
 		-o -name modules.builtin -o -name '.tmp_*.o.*' \
 		-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
-		-o -name '*.efi' -o -name '*.gcno' \) \
+		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
 		-type f -print | xargs rm -f
 
 # mrproper - Delete all generated files, including .config
-- 
2.17.0



More information about the U-Boot mailing list