Josh Poimboeuf | 60cbdf5 | 2016-07-22 14:19:20 -0500 | [diff] [blame] | 1 | objtool-y += arch/$(SRCARCH)/ |
Matt Helsley | 0decf1f | 2020-05-19 13:55:33 -0700 | [diff] [blame] | 2 | |
| 3 | objtool-y += weak.o |
| 4 | |
| 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 |
| 10 | |
Josh Poimboeuf | 442f04c | 2016-02-28 22:22:41 -0600 | [diff] [blame] | 11 | objtool-y += builtin-check.o |
Josh Poimboeuf | 627fce1 | 2017-07-11 10:33:42 -0500 | [diff] [blame] | 12 | objtool-y += builtin-orc.o |
Josh Poimboeuf | 442f04c | 2016-02-28 22:22:41 -0600 | [diff] [blame] | 13 | objtool-y += elf.o |
Josh Poimboeuf | 442f04c | 2016-02-28 22:22:41 -0600 | [diff] [blame] | 14 | objtool-y += objtool.o |
| 15 | |
| 16 | objtool-y += libstring.o |
Jiri Olsa | 0c69b93 | 2019-07-02 14:12:40 +0200 | [diff] [blame] | 17 | objtool-y += libctype.o |
Arnaldo Carvalho de Melo | 07eebcc | 2016-07-08 15:26:50 -0300 | [diff] [blame] | 18 | objtool-y += str_error_r.o |
Peter Zijlstra | 2a362ec | 2020-03-12 09:34:42 +0100 | [diff] [blame] | 19 | objtool-y += librbtree.o |
Josh Poimboeuf | 442f04c | 2016-02-28 22:22:41 -0600 | [diff] [blame] | 20 | |
| 21 | CFLAGS += -I$(srctree)/tools/lib |
| 22 | |
| 23 | $(OUTPUT)libstring.o: ../lib/string.c FORCE |
| 24 | $(call rule_mkdir) |
| 25 | $(call if_changed_dep,cc_o_c) |
Arnaldo Carvalho de Melo | 07eebcc | 2016-07-08 15:26:50 -0300 | [diff] [blame] | 26 | |
Jiri Olsa | 0c69b93 | 2019-07-02 14:12:40 +0200 | [diff] [blame] | 27 | $(OUTPUT)libctype.o: ../lib/ctype.c FORCE |
| 28 | $(call rule_mkdir) |
| 29 | $(call if_changed_dep,cc_o_c) |
| 30 | |
Arnaldo Carvalho de Melo | 07eebcc | 2016-07-08 15:26:50 -0300 | [diff] [blame] | 31 | $(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE |
| 32 | $(call rule_mkdir) |
| 33 | $(call if_changed_dep,cc_o_c) |
Peter Zijlstra | 2a362ec | 2020-03-12 09:34:42 +0100 | [diff] [blame] | 34 | |
| 35 | $(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE |
| 36 | $(call rule_mkdir) |
| 37 | $(call if_changed_dep,cc_o_c) |