blob: b7222d5cc7bc9019867a2982e855d9315cfaa1c8 [file] [log] [blame]
Josh Poimboeuf60cbdf52016-07-22 14:19:20 -05001objtool-y += arch/$(SRCARCH)/
Matt Helsley0decf1f2020-05-19 13:55:33 -07002
3objtool-y += weak.o
4
5objtool-$(SUBCMD_CHECK) += check.o
6objtool-$(SUBCMD_CHECK) += special.o
7objtool-$(SUBCMD_ORC) += check.o
8objtool-$(SUBCMD_ORC) += orc_gen.o
9objtool-$(SUBCMD_ORC) += orc_dump.o
10
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060011objtool-y += builtin-check.o
Josh Poimboeuf627fce12017-07-11 10:33:42 -050012objtool-y += builtin-orc.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060013objtool-y += elf.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060014objtool-y += objtool.o
15
16objtool-y += libstring.o
Jiri Olsa0c69b932019-07-02 14:12:40 +020017objtool-y += libctype.o
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030018objtool-y += str_error_r.o
Peter Zijlstra2a362ec2020-03-12 09:34:42 +010019objtool-y += librbtree.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060020
21CFLAGS += -I$(srctree)/tools/lib
22
23$(OUTPUT)libstring.o: ../lib/string.c FORCE
24 $(call rule_mkdir)
25 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030026
Jiri Olsa0c69b932019-07-02 14:12:40 +020027$(OUTPUT)libctype.o: ../lib/ctype.c FORCE
28 $(call rule_mkdir)
29 $(call if_changed_dep,cc_o_c)
30
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030031$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
32 $(call rule_mkdir)
33 $(call if_changed_dep,cc_o_c)
Peter Zijlstra2a362ec2020-03-12 09:34:42 +010034
35$(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
36 $(call rule_mkdir)
37 $(call if_changed_dep,cc_o_c)