From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Thu, 24 May 2018 17:34:45 +0000 (+0200)
Subject: Makefile: clean should delete *.so
X-Git-Tag: v2025.01-rc5-pxa1908~4160^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=7f474ef6cc3565bb3538b7004a50fd79280ae105;p=u-boot.git

Makefile: clean should delete *.so

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

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
---

diff --git a/Makefile b/Makefile
index 1278cea71b..4592564cb4 100644
--- a/Makefile
+++ b/Makefile
@@ -1625,7 +1625,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