xref: /openbmc/linux/tools/objtool/Build (revision 711aab1d)
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 += str_error_r.o
13
14CFLAGS += -I$(srctree)/tools/lib
15
16$(OUTPUT)libstring.o: ../lib/string.c FORCE
17	$(call rule_mkdir)
18	$(call if_changed_dep,cc_o_c)
19
20$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
21	$(call rule_mkdir)
22	$(call if_changed_dep,cc_o_c)
23