xref: /openbmc/linux/tools/objtool/Build (revision 9e3bd0f6)
1objtool-y += arch/$(SRCARCH)/
2objtool-y += builtin-check.o
3objtool-y += builtin-orc.o
4objtool-y += check.o
5objtool-y += orc_gen.o
6objtool-y += orc_dump.o
7objtool-y += elf.o
8objtool-y += special.o
9objtool-y += objtool.o
10
11objtool-y += libstring.o
12objtool-y += libctype.o
13objtool-y += str_error_r.o
14
15CFLAGS += -I$(srctree)/tools/lib
16
17$(OUTPUT)libstring.o: ../lib/string.c FORCE
18	$(call rule_mkdir)
19	$(call if_changed_dep,cc_o_c)
20
21$(OUTPUT)libctype.o: ../lib/ctype.c FORCE
22	$(call rule_mkdir)
23	$(call if_changed_dep,cc_o_c)
24
25$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
26	$(call rule_mkdir)
27	$(call if_changed_dep,cc_o_c)
28