]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfce494bcceae5ec6afd379a8708e9691f8cee409
tree5c30007fd4853e3ccb62b60cf06c0106099d638c
parent63feee1806eef12aa8e60885348cc1c8718f0724
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