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
21# then will be really dead and removed from the code base entirely.21# then will be really dead and removed from the code base entirely.
22 22
23rm -f arch/powerpc/purgatory/kexec-purgatory.c23rm -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.
28if [ -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
43fi
44
45rm -f arch/riscv/purgatory/kexec-purgatory.c24rm -f arch/riscv/purgatory/kexec-purgatory.c
25rm -f arch/x86/purgatory/kexec-purgatory.c
46 26
47rm -f scripts/extract-cert27rm -f scripts/extract-cert
48 28
49rm -f arch/x86/purgatory/kexec-purgatory.c
50
51rm -f scripts/kconfig/[gmnq]conf-cfg29rm -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