xref: /openbmc/linux/tools/objtool/Build (revision 352780b6)
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
14objtool-y += librbtree.o
15
16CFLAGS += -I$(srctree)/tools/lib
17
18$(OUTPUT)libstring.o: ../lib/string.c FORCE
19	$(call rule_mkdir)
20	$(call if_changed_dep,cc_o_c)
21
22$(OUTPUT)libctype.o: ../lib/ctype.c FORCE
23	$(call rule_mkdir)
24	$(call if_changed_dep,cc_o_c)
25
26$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
27	$(call rule_mkdir)
28	$(call if_changed_dep,cc_o_c)
29
30$(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
31	$(call rule_mkdir)
32	$(call if_changed_dep,cc_o_c)
33