1 objtool-y += arch/$(SRCARCH)/
5 objtool-$(SUBCMD_CHECK) += check.o
6 objtool-$(SUBCMD_CHECK) += special.o
7 objtool-$(SUBCMD_ORC) += check.o
8 objtool-$(SUBCMD_ORC) += orc_gen.o
9 objtool-$(SUBCMD_ORC) += orc_dump.o
11 objtool-y += builtin-check.o
12 objtool-y += builtin-orc.o
14 objtool-y += objtool.o
16 objtool-y += libstring.o
17 objtool-y += libctype.o
18 objtool-y += str_error_r.o
19 objtool-y += librbtree.o
21 CFLAGS += -I$(srctree)/tools/lib
23 $(OUTPUT)libstring.o: ../lib/string.c FORCE
25 $(call if_changed_dep,cc_o_c)
27 $(OUTPUT)libctype.o: ../lib/ctype.c FORCE
29 $(call if_changed_dep,cc_o_c)
31 $(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
33 $(call if_changed_dep,cc_o_c)
35 $(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
37 $(call if_changed_dep,cc_o_c)