History

kbuild: clean up stale file removal

More than one year has passed since the copied *.[cS] files were removed from arch/*/boot/compressed/.

Masahiro Yamada committed 3 years ago

Commit 8f99eb81 parent 83d98d72 files · +1 −30Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/remove-stale-files+1−23
@@ -21,31 +21,9 @@ set -e · 20 unmodified lines
2121 # then will be really dead and removed from the code base entirely.
2222
2323 rm -f arch/powerpc/purgatory/kexec-purgatory.c
24−
25−# These were previously generated source files. When you are building the kernel
26−# with O=, make sure to remove the stale files in the output tree. Otherwise,
27−# the build system wrongly compiles the stale ones.
28−if [ -n "${building_out_of_srctree}" ]; then
29− 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
30− do
31− rm -f arch/arm/boot/compressed/${f}
32− done
33−
34− for f in uart-ath79.c ashldi3.c bswapdi.c bswapsi.c
35− do
36− rm -f arch/mips/boot/compressed/${f}
37− done
38−
39− for f in firmware.c real2.S
40− do
41− rm -f arch/parisc/boot/compressed/${f}
42− done
43−fi
44−
4524 rm -f arch/riscv/purgatory/kexec-purgatory.c
25+rm -f arch/x86/purgatory/kexec-purgatory.c
4626
4727 rm -f scripts/extract-cert
4828
49−rm -f arch/x86/purgatory/kexec-purgatory.c
50−
5129 rm -f scripts/kconfig/[gmnq]conf-cfg

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t