diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-12 16:40:37 +0900 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-14 00:04:41 +1000 |
commit | 1fdfa4c6af0cc1854b017f308af6bece94568bb6 (patch) | |
tree | 9b384a6c64cd16b9f9db2acf495c25e88a5438eb /arch/powerpc/kernel/.gitignore | |
parent | caff52dc0b71538cff43c06ede3621fbbf359978 (diff) |
powerpc: improve prom_init_check rule
This slightly improves the prom_init_check rule.
[1] Avoid needless check
Currently, prom_init_check.sh is invoked every time you run 'make'
even if you have changed nothing in prom_init.c. With this commit,
the script is re-run only when prom_init.o is recompiled.
[2] Beautify the build log
Currently, the O= build shows the absolute path to the script:
CALL /abs/path/to/source/of/linux/arch/powerpc/kernel/prom_init_check.sh
With this commit, it is always a relative path to the timestamp file:
PROMCHK arch/powerpc/kernel/prom_init_check
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190912074037.13813-1-yamada.masahiro@socionext.com
Diffstat (limited to 'arch/powerpc/kernel/.gitignore')
-rw-r--r-- | arch/powerpc/kernel/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/.gitignore b/arch/powerpc/kernel/.gitignore index c5f676c3c224..67ebd3003c05 100644 --- a/arch/powerpc/kernel/.gitignore +++ b/arch/powerpc/kernel/.gitignore @@ -1 +1,2 @@ +prom_init_check vmlinux.lds |