blob: 749becdf5b9080a1c3189d7d4972f9952cb200e5 [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
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030012objtool-y += str_error_r.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060013
14CFLAGS += -I$(srctree)/tools/lib
15
16$(OUTPUT)libstring.o: ../lib/string.c FORCE
17 $(call rule_mkdir)
18 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030019
20$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
21 $(call rule_mkdir)
22 $(call if_changed_dep,cc_o_c)