On Mon, Nov 11, 2024 at 10:45:52PM +0900, Masahiro Yamada wrote: > Building the kernel with ARCH=s390 creates a weird arch/arch/ directory. > > $ find arch/arch > arch/arch > arch/arch/s390 > arch/arch/s390/include > arch/arch/s390/include/generated > arch/arch/s390/include/generated/asm > arch/arch/s390/include/generated/uapi > arch/arch/s390/include/generated/uapi/asm > > The root cause is 'targets' in arch/s390/kernel/syscalls/Makefile, > where the relative path is incorrect. > > Strictly speaking, 'targets' was not necessary in the first place > because this Makefile uses 'filechk' instead of 'if_changed'. > > However, this commit keeps it, as it will be useful when converting > 'filechk' to 'if_changed' later. > > Fixes: 5c75824d915e ("s390/syscalls: add Makefile to generate system call header files") > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> > --- > > arch/s390/kernel/syscalls/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Oh wow, this survived nearly seven years. Thanks for fixing! Applied all three patchs.