aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorGravatar Masahiro Yamada <masahiroy@kernel.org> 2021-12-13 12:09:15 +0900
committerGravatar Helge Deller <deller@gmx.de> 2022-01-05 01:22:13 +0100
commit3cbadd20e3db4ca20901d0f05d921be55ad07237 (patch)
tree0379fbac57ac35904163249c918d53f47de4f290 /scripts/remove-stale-files
parentLinux 5.16-rc8 (diff)
downloadlinux-3cbadd20e3db4ca20901d0f05d921be55ad07237.tar.gz
linux-3cbadd20e3db4ca20901d0f05d921be55ad07237.tar.bz2
linux-3cbadd20e3db4ca20901d0f05d921be55ad07237.zip
parisc: 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 parisc to clean up the Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/remove-stale-files')
-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 0114c41e6938..03e431e04347 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -33,4 +33,9 @@ if [ -n "${building_out_of_srctree}" ]; then
do
rm -f arch/mips/boot/compressed/${f}
done
+
+ for f in firmware.c real2.S
+ do
+ rm -f arch/parisc/boot/compressed/${f}
+ done
fi