kbuild: redo fake deps at include/config/*.h
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 15 Apr 2021 17:36:07 +0000 (20:36 +0300)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:26:10 +0000 (05:26 +0900)
commit0e0345b77ac4605d5447b252d220e4a2ee118da7
treefec9420efe18ffdb4fee04f0ef36ec2a25a5a465
parente3456056f1d935491ee9148dbae98c6b95f58910
kbuild: redo fake deps at include/config/*.h

Make include/config/foo/bar.h fake deps files generation simpler.

* delete .h suffix
those aren't header files, shorten filenames,

* delete tolower()
Linux filesystems can deal with both upper and lowercase
filenames very well,

* put everything in 1 directory
Presumably 'mkdir -p' split is from dark times when filesystems
handled huge directories badly, disks were round adding to
seek times.

x86_64 allmodconfig lists 12364 files in include/config.

../obj/include/config/
├── 104_QUAD_8
├── 60XX_WDT
├── 64BIT
...
├── ZSWAP_DEFAULT_ON
├── ZSWAP_ZPOOL_DEFAULT
└── ZSWAP_ZPOOL_DEFAULT_ZBUD

0 directories, 12364 files

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
include/linux/compiler-version.h
init/Kconfig
kernel/gen_kheaders.sh
scripts/Makefile.build
scripts/basic/fixdep.c
scripts/kconfig/confdata.c