xref: /openbmc/linux/tools/objtool/Build (revision a518d637)
1objtool-y += arch/$(SRCARCH)/
2objtool-y += builtin-check.o
3objtool-y += check.o
4objtool-y += elf.o
5objtool-y += special.o
6objtool-y += objtool.o
7
8objtool-y += libstring.o
9objtool-y += str_error_r.o
10
11CFLAGS += -I$(srctree)/tools/lib
12
13$(OUTPUT)libstring.o: ../lib/string.c FORCE
14	$(call rule_mkdir)
15	$(call if_changed_dep,cc_o_c)
16
17$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
18	$(call rule_mkdir)
19	$(call if_changed_dep,cc_o_c)
20