Josh Poimboeuf | 442f04c | 2016-02-28 22:22:41 -0600 | [diff] [blame] | 1 | objtool-y += decode.o |
2 | |||||
3 | inat_tables_script = arch/x86/insn/gen-insn-attr-x86.awk | ||||
4 | inat_tables_maps = arch/x86/insn/x86-opcode-map.txt | ||||
5 | |||||
6 | $(OUTPUT)arch/x86/insn/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) | ||||
7 | $(call rule_mkdir) | ||||
8 | $(Q)$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ | ||||
9 | |||||
10 | $(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/insn/inat-tables.c | ||||
11 | |||||
12 | CFLAGS_decode.o += -I$(OUTPUT)arch/x86/insn |