blob: 2457916a3943710b0571bf29792a6ba97cc262f8 [file] [log] [blame]
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06001objtool-y += arch/$(ARCH)/
2objtool-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)