Re: [PATCH v3 3/3] kbuild: generate autoksyms.h early

From: Quentin Perret
Date: Tue Feb 11 2020 - 00:47:07 EST


On Saturday 08 Feb 2020 at 06:09:06 (+0100), Masahiro Yamada wrote:
> Now that this line is doing a non-trivial task,
> it might be a good idea to show a short log, like this:
>
> GEN include/generated/autoksyms.h

Sounds good.

> You can do it like this:
>
>
> quiet_cmd_autoksyms_h = GEN $@
> cmd_autoksyms_h = mkdir -p $(dir $@); $(BASH)
> $(srctree)/scripts/gen_autoksyms.sh $@
>
> $(autoksyms_h):
> $(call cmd,autoksyms_h)

Nice, thanks for sharing!
Quentin