Re: [PATCH 1/2] arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work

2021-02-21 Thread Masahiro Yamada
On Mon, Feb 15, 2021 at 9:50 AM Masahiro Yamada wrote: > > 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

[PATCH 1/2] arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work

2021-02-14 Thread Masahiro Yamada
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.