diff options
| author | Masahiro Yamada <[email protected]> | 2022-05-27 19:01:54 +0900 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2022-06-01 23:07:29 +0900 |
| commit | ebd191b38c5ea177318543a08e544cf2f7df944d (patch) | |
| tree | 30ff7589124833ebe70dbcbbb91a26176ca4afda /drivers/platform/x86/intel/pmt/class.c | |
| parent | c6031b1dbbbfec03891bf1baefa2e0803d705601 (diff) | |
kbuild: add cmd_and_savecmd macro
Separate out the command execution part of if_changed, as we did
for if_changed_dep.
This allows us to reuse it in if_changed_rule.
define rule_foo
$(call cmd_and_savecmd,foo)
$(call cmd,bar)
endef
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Tested-by: Sedat Dilek <[email protected]> # LLVM-14 (x86-64)
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions