diff options
Diffstat (limited to '')
-rw-r--r-- | tools/objtool/Build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/objtool/Build b/tools/objtool/Build new file mode 100644 index 000000000..749becdf5 --- /dev/null +++ b/tools/objtool/Build @@ -0,0 +1,22 @@ +objtool-y += arch/$(SRCARCH)/ +objtool-y += builtin-check.o +objtool-y += builtin-orc.o +objtool-y += check.o +objtool-y += orc_gen.o +objtool-y += orc_dump.o +objtool-y += elf.o +objtool-y += special.o +objtool-y += objtool.o + +objtool-y += libstring.o +objtool-y += str_error_r.o + +CFLAGS += -I$(srctree)/tools/lib + +$(OUTPUT)libstring.o: ../lib/string.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) + +$(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) |