blob: 6f2e1987c4d9079df4dde4db3bd427da51276c35 [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 Poimboeufdcc914f2017-06-28 10:11:05 -05003objtool-y += check.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06004objtool-y += elf.o
5objtool-y += special.o
6objtool-y += objtool.o
7
8objtool-y += libstring.o
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -03009objtool-y += str_error_r.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060010
11CFLAGS += -I$(srctree)/tools/lib
12
13$(OUTPUT)libstring.o: ../lib/string.c FORCE
14 $(call rule_mkdir)
15 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030016
17$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
18 $(call rule_mkdir)
19 $(call if_changed_dep,cc_o_c)