]> 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)
commit2c904a8c8f4c6fa88e7caab2d099c1f3cee632e0
tree5c30007fd4853e3ccb62b60cf06c0106099d638c
parentd842a20ac9e5b0b15ffdabb1bfbc004f15fdc2f5
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