WIP FPC-III support
[linux/fpc-iii.git] / tools / objtool / Build
blobb7222d5cc7bc9019867a2982e855d9315cfaa1c8
1 objtool-y += arch/$(SRCARCH)/
3 objtool-y += weak.o
5 objtool-$(SUBCMD_CHECK) += check.o
6 objtool-$(SUBCMD_CHECK) += special.o
7 objtool-$(SUBCMD_ORC) += check.o
8 objtool-$(SUBCMD_ORC) += orc_gen.o
9 objtool-$(SUBCMD_ORC) += orc_dump.o
11 objtool-y += builtin-check.o
12 objtool-y += builtin-orc.o
13 objtool-y += elf.o
14 objtool-y += objtool.o
16 objtool-y += libstring.o
17 objtool-y += libctype.o
18 objtool-y += str_error_r.o
19 objtool-y += librbtree.o
21 CFLAGS += -I$(srctree)/tools/lib
23 $(OUTPUT)libstring.o: ../lib/string.c FORCE
24         $(call rule_mkdir)
25         $(call if_changed_dep,cc_o_c)
27 $(OUTPUT)libctype.o: ../lib/ctype.c FORCE
28         $(call rule_mkdir)
29         $(call if_changed_dep,cc_o_c)
31 $(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
32         $(call rule_mkdir)
33         $(call if_changed_dep,cc_o_c)
35 $(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
36         $(call rule_mkdir)
37         $(call if_changed_dep,cc_o_c)