mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
objtool executes the objdump command to disassemble code. Use libopcodes instead to have more control about the disassembly scope and output. If libopcodes is not present then objtool is built without disassembly support. Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Link: https://patch.msgid.link/20251121095340.464045-4-alexandre.chartre@oracle.com
35 lines
804 B
Text
35 lines
804 B
Text
objtool-y += arch/$(SRCARCH)/
|
|
|
|
objtool-y += weak.o
|
|
|
|
objtool-y += check.o
|
|
objtool-y += special.o
|
|
objtool-y += builtin-check.o
|
|
objtool-y += elf.o
|
|
objtool-y += objtool.o
|
|
|
|
objtool-$(BUILD_DISAS) += disas.o
|
|
|
|
objtool-$(BUILD_ORC) += orc_gen.o orc_dump.o
|
|
objtool-$(BUILD_KLP) += builtin-klp.o klp-diff.o klp-post-link.o
|
|
|
|
objtool-y += libstring.o
|
|
objtool-y += libctype.o
|
|
objtool-y += str_error_r.o
|
|
objtool-y += librbtree.o
|
|
|
|
$(OUTPUT)libstring.o: ../lib/string.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|
|
|
|
$(OUTPUT)libctype.o: ../lib/ctype.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)
|
|
|
|
$(OUTPUT)librbtree.o: ../lib/rbtree.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|