summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-11-05 11:38:14 +0900
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-11-10 19:45:06 +0100
commitf78b25ee922ef6faf59a258af1b9388ca894cfd9 (patch)
tree8470e59f28c3d185ceec50e452694cdde8fa24ae /scripts
parente2f4b3be1d3c73176db734565b160250cc1300dd (diff)
downloadlinux-f78b25ee922ef6faf59a258af1b9388ca894cfd9.tar.bz2
mips: decompressor: do not copy source files while building
As commit 7ae4a78daacf ("ARM: 8969/1: decompressor: simplify libfdt builds") stated, copying source files during the build time may not end up with as clean code as expected. Do similar for mips to clean up the Makefile and .gitignore. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/remove-stale-files5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
index c3eb81c3f7de..0114c41e6938 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -28,4 +28,9 @@ if [ -n "${building_out_of_srctree}" ]; then
do
rm -f arch/arm/boot/compressed/${f}
done
+
+ for f in uart-ath79.c ashldi3.c bswapdi.c bswapsi.c
+ do
+ rm -f arch/mips/boot/compressed/${f}
+ done
fi