diff options
author | Masahiro Yamada <[email protected]> | 2021-08-31 16:39:56 +0900 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2021-09-22 09:26:25 +0900 |
commit | ef62588c2c8611c196b780561610921b7b864bb2 (patch) | |
tree | 158403af4b941651df8d69745a1c2250353cafe1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 918a6b7f68468ab80ec5e7ab7f3d2ef88905c20b (diff) |
kbuild: detect objtool update without using .SECONDEXPANSION
Redo commit 8852c5524029 ("kbuild: Fix objtool dependency for
'OBJECT_FILES_NON_STANDARD_<obj> := n'") to add the objtool
dependency in a cleaner way.
Using .SECONDEXPANSION ends up with unreadable code due to escaped
dollars. Also, it is not efficient because the second half of
Makefile.build is parsed twice every time.
Append the objtool dependency to the *.cmd files at the build time.
This is what fixdep and gen_ksymdeps.sh already do. So, following the
same pattern seems a natural solution.
This allows us to drop $$(objtool_dep) entirely.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions