diff options
author | Ian Rogers <irogers@google.com> | 2023-01-26 20:06:04 +0100 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-01-31 01:27:46 +0100 |
commit | bdb8bf7d56afd1d22c12c61455d732d3baff2bde (patch) | |
tree | deae784a60707814be6fbdb0f6ff2b0fdf70df61 /tools/objtool/Build | |
parent | objtool: Check that module init/exit function is an indirect call target (diff) | |
download | linux-bdb8bf7d56afd1d22c12c61455d732d3baff2bde.tar.xz linux-bdb8bf7d56afd1d22c12c61455d732d3baff2bde.zip |
objtool: Install libsubcmd in build
Including from tools/lib can create inadvertent dependencies. Install
libsubcmd in the objtool build and then include the headers from
there.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20230126190606.40739-2-irogers@google.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/Build')
-rw-r--r-- | tools/objtool/Build | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/objtool/Build b/tools/objtool/Build index 33f2ee5a46d3..a3cdf8af6635 100644 --- a/tools/objtool/Build +++ b/tools/objtool/Build @@ -16,8 +16,6 @@ objtool-y += libctype.o objtool-y += str_error_r.o objtool-y += librbtree.o -CFLAGS += -I$(srctree)/tools/lib - $(OUTPUT)libstring.o: ../lib/string.c FORCE $(call rule_mkdir) $(call if_changed_dep,cc_o_c) |