More than one year has passed since the copied *.[cS] files were removed from arch/*/boot/compressed/.
Unified · Split
| @@ -8,13 +8,6 @@ · 7 unmodified lines | |||
| 8 | OBJECTS := head_32.o misc.o cache.o piggy.o \ | 8 | OBJECTS := head_32.o misc.o cache.o piggy.o \ |
| 9 | ashiftrt.o ashldi3.o ashrsi3.o ashlsi3.o lshrsi3.o | 9 | ashiftrt.o ashldi3.o ashrsi3.o ashlsi3.o lshrsi3.o |
| 10 | 10 | ||
| 11 | # These were previously generated files. When you are building the kernel | ||
| 12 | # with O=, make sure to remove the stale files in the output tree. Otherwise, | ||
| 13 | # the build system wrongly compiles the stale ones. | ||
| 14 | ifdef building_out_of_srctree | ||
| 15 | $(shell rm -f $(addprefix $(obj)/, ashiftrt.S ashldi3.c ashrsi3.S ashlsi3.S lshrsi3.S)) | ||
| 16 | endif | ||
| 17 | |||
| 18 | targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \ | 11 | targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \ |
| 19 | vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo $(OBJECTS) | 12 | vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo $(OBJECTS) |
| 20 | 13 | ||
| @@ -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 | ||
| 23 | rm -f arch/powerpc/purgatory/kexec-purgatory.c | 23 | 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 | |||
| 45 | rm -f arch/riscv/purgatory/kexec-purgatory.c | 24 | rm -f arch/riscv/purgatory/kexec-purgatory.c |
| 25 | rm -f arch/x86/purgatory/kexec-purgatory.c | ||
| 46 | 26 | ||
| 47 | rm -f scripts/extract-cert | 27 | rm -f scripts/extract-cert |
| 48 | 28 | ||
| 49 | rm -f arch/x86/purgatory/kexec-purgatory.c | ||
| 50 | |||
| 51 | rm -f scripts/kconfig/[gmnq]conf-cfg | 29 | rm -f scripts/kconfig/[gmnq]conf-cfg |