Merge tag 'fpga-for-6.0-final' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga...
[platform/kernel/linux-starfive.git] / tools / objtool / Build
1 objtool-y += arch/$(SRCARCH)/
2
3 objtool-y += weak.o
4
5 objtool-y += check.o
6 objtool-y += special.o
7 objtool-y += builtin-check.o
8 objtool-y += elf.o
9 objtool-y += objtool.o
10
11 objtool-$(BUILD_ORC) += orc_gen.o
12 objtool-$(BUILD_ORC) += orc_dump.o
13
14 objtool-y += libstring.o
15 objtool-y += libctype.o
16 objtool-y += str_error_r.o
17 objtool-y += librbtree.o
18
19 CFLAGS += -I$(srctree)/tools/lib
20
21 $(OUTPUT)libstring.o: ../lib/string.c FORCE
22         $(call rule_mkdir)
23         $(call if_changed_dep,cc_o_c)
24
25 $(OUTPUT)libctype.o: ../lib/ctype.c FORCE
26         $(call rule_mkdir)
27         $(call if_changed_dep,cc_o_c)
28
29 $(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
30         $(call rule_mkdir)
31         $(call if_changed_dep,cc_o_c)
32
33 $(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
34         $(call rule_mkdir)
35         $(call if_changed_dep,cc_o_c)