• Alexey Dobriyan's avatar
    kbuild: redo fake deps at include/config/*.h · 0e0345b7
    Alexey Dobriyan authored
    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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    0e0345b7
gen_kheaders.sh 3.16 KB