linux/arch
Masahiro Yamada 1476fee5c5 kbuild: add a script to remove stale generated files
We maintain .gitignore and Makefiles so build artifacts are properly
ignored by Git, and cleaned up by 'make clean'. However, the code is
always changing; generated files are often moved to another directory,
or removed when they become unnecessary. Such garbage files tend to be
left over in the source tree because people usually git-pull without
cleaning the tree.

This is not only the noise for 'git status', but also a build issue
in some cases.

One solution is to remove a stale file like commit 223c24a7db ("kbuild:
Automatically remove stale <linux/version.h> file") did. Such workaround
should be removed after a while, but we forget about that if we scatter
the workaround code in random places.

So, this commit adds a new script to collect cleanings of stale files.

As a start point, move the code in arch/arm/boot/compressed/Makefile
into this script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2021-05-02 00:43:35 +09:00
..
alpha mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
arc mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
arm kbuild: add a script to remove stale generated files 2021-05-02 00:43:35 +09:00
arm64 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
csky mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
h8300 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
hexagon mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ia64 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
m68k mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
microblaze mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
mips mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
nds32 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
nios2 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
openrisc mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
parisc mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
powerpc Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
riscv mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
sh sh: syscalls: switch to generic syscallhdr.sh 2021-05-02 00:43:34 +09:00
sparc sparc: syscalls: switch to generic syscallshdr.sh 2021-05-02 00:43:34 +09:00
um mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
x86 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
xtensa Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
.gitignore
Kconfig mm/vmalloc: hugepage vmalloc mappings 2021-04-30 11:20:40 -07:00