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