blob: d6cdece5e58bf9d5b03b9b8adde262df3e042817 [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
3objtool-y += elf.o
4objtool-y += special.o
5objtool-y += objtool.o
6
7objtool-y += libstring.o
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -03008objtool-y += str_error_r.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06009
10CFLAGS += -I$(srctree)/tools/lib
11
12$(OUTPUT)libstring.o: ../lib/string.c FORCE
13 $(call rule_mkdir)
14 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030015
16$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
17 $(call rule_mkdir)
18 $(call if_changed_dep,cc_o_c)