xref: /linux/tools/objtool/arch/x86/Build (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1objtool-y += special.o
2objtool-y += decode.o
3objtool-y += orc.o
4
5inat_tables_script = ../arch/x86/tools/gen-insn-attr-x86.awk
6inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt
7
8$(OUTPUT)arch/x86/lib/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
9	$(call rule_mkdir)
10	$(Q)$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@
11
12$(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/lib/inat-tables.c
13
14CFLAGS_decode.o += -I$(OUTPUT)arch/x86/lib
15