summaryrefslogtreecommitdiff
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-10-30 18:52:58 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-12-17 11:34:30 +0000
commit251cc826be7dec61e574b291b371362c10dd84ea (patch)
tree30196f4582cf6ed0a7811974afacfa0f2f148f73 /scripts/remove-stale-files
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
ARM: 9154/1: 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 the other library files for further cleanups of the Makefile and .gitignore. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/remove-stale-files')
-rwxr-xr-xscripts/remove-stale-files2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
index 0114c41e6938..f0d53227fe7b 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -24,7 +24,7 @@ set -e
# with O=, make sure to remove the stale files in the output tree. Otherwise,
# the build system wrongly compiles the stale ones.
if [ -n "${building_out_of_srctree}" ]; then
- for f in fdt_rw.c fdt_ro.c fdt_wip.c fdt.c
+ for f in fdt_rw.c fdt_ro.c fdt_wip.c fdt.c ashldi3.S bswapsdi2.S font.c lib1funcs.S hyp-stub.S
do
rm -f arch/arm/boot/compressed/${f}
done