arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Feb 2021 00:48:22 +0000 (09:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 21 Feb 2021 23:21:55 +0000 (08:21 +0900)
commit865fa29f7dd1b6af8498fe08f19b4028c1c8a153
tree5c30007fd4853e3ccb62b60cf06c0106099d638c
parent585d32f9b0532ca2407943edec163c23191de488
arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work

The rules in these Makefiles cannot detect the command line change
because the prerequisite 'FORCE' is missing.

Adding 'FORCE' will result in the headers being rebuilt every time
because the 'targets' additions are also wrong; the file paths in
'targets' must be relative to the current Makefile.

Fix all of them so the if_changed rules work correctly.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/alpha/kernel/syscalls/Makefile
arch/ia64/kernel/syscalls/Makefile
arch/m68k/kernel/syscalls/Makefile
arch/microblaze/kernel/syscalls/Makefile
arch/mips/kernel/syscalls/Makefile
arch/parisc/kernel/syscalls/Makefile
arch/powerpc/kernel/syscalls/Makefile
arch/sh/kernel/syscalls/Makefile
arch/sparc/kernel/syscalls/Makefile
arch/x86/entry/syscalls/Makefile
arch/xtensa/kernel/syscalls/Makefile