blob: 66f44f5cd2a6255da11e87f4c6a5e9d101938b23 [file] [log] [blame]
Josh Poimboeuf60cbdf52016-07-22 14:19:20 -05001objtool-y += arch/$(SRCARCH)/
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06002objtool-y += builtin-check.o
Josh Poimboeuf627fce12017-07-11 10:33:42 -05003objtool-y += builtin-orc.o
Josh Poimboeufdcc914f2017-06-28 10:11:05 -05004objtool-y += check.o
Josh Poimboeuf627fce12017-07-11 10:33:42 -05005objtool-y += orc_gen.o
6objtool-y += orc_dump.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06007objtool-y += elf.o
8objtool-y += special.o
9objtool-y += objtool.o
10
11objtool-y += libstring.o
Jiri Olsa0c69b932019-07-02 14:12:40 +020012objtool-y += libctype.o
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030013objtool-y += str_error_r.o
Peter Zijlstra2a362ec2020-03-12 09:34:42 +010014objtool-y += librbtree.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060015
16CFLAGS += -I$(srctree)/tools/lib
17
18$(OUTPUT)libstring.o: ../lib/string.c FORCE
19 $(call rule_mkdir)
20 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030021
Jiri Olsa0c69b932019-07-02 14:12:40 +020022$(OUTPUT)libctype.o: ../lib/ctype.c FORCE
23 $(call rule_mkdir)
24 $(call if_changed_dep,cc_o_c)
25
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030026$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
27 $(call rule_mkdir)
28 $(call if_changed_dep,cc_o_c)
Peter Zijlstra2a362ec2020-03-12 09:34:42 +010029
30$(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
31 $(call rule_mkdir)
32 $(call if_changed_dep,cc_o_c)