blob: 8dc4f0848362d2964ed2f7b64cc09a7a84f58a83 [file] [log] [blame]
Josh Poimboeuf60cbdf52016-07-22 14:19:20 -05001objtool-y += arch/$(SRCARCH)/
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06002objtool-y += builtin-check.o
Josh Poimboeuf627fce12017-07-11 10:33:42 -05003objtool-y += builtin-orc.o
Josh Poimboeufdcc914f2017-06-28 10:11:05 -05004objtool-y += check.o
Josh Poimboeuf627fce12017-07-11 10:33:42 -05005objtool-y += orc_gen.o
6objtool-y += orc_dump.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -06007objtool-y += elf.o
8objtool-y += special.o
9objtool-y += objtool.o
10
11objtool-y += libstring.o
Jiri Olsa0c69b932019-07-02 14:12:40 +020012objtool-y += libctype.o
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030013objtool-y += str_error_r.o
Josh Poimboeuf442f04c2016-02-28 22:22:41 -060014
15CFLAGS += -I$(srctree)/tools/lib
16
17$(OUTPUT)libstring.o: ../lib/string.c FORCE
18 $(call rule_mkdir)
19 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030020
Jiri Olsa0c69b932019-07-02 14:12:40 +020021$(OUTPUT)libctype.o: ../lib/ctype.c FORCE
22 $(call rule_mkdir)
23 $(call if_changed_dep,cc_o_c)
24
Arnaldo Carvalho de Melo07eebcc2016-07-08 15:26:50 -030025$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
26 $(call rule_mkdir)
27 $(call if_changed_dep,cc_o_c)