xref: /openbmc/linux/tools/objtool/Build (revision 80483c3a)
1objtool-y += arch/$(SRCARCH)/
2objtool-y += builtin-check.o
3objtool-y += elf.o
4objtool-y += special.o
5objtool-y += objtool.o
6
7objtool-y += libstring.o
8objtool-y += str_error_r.o
9
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)
15
16$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
17	$(call rule_mkdir)
18	$(call if_changed_dep,cc_o_c)
19