mirror of https://gitee.com/openkylin/linux.git
13 lines
426 B
Plaintext
13 lines
426 B
Plaintext
|
objtool-y += decode.o
|
||
|
|
||
|
inat_tables_script = arch/x86/insn/gen-insn-attr-x86.awk
|
||
|
inat_tables_maps = arch/x86/insn/x86-opcode-map.txt
|
||
|
|
||
|
$(OUTPUT)arch/x86/insn/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
|
||
|
$(call rule_mkdir)
|
||
|
$(Q)$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@
|
||
|
|
||
|
$(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/insn/inat-tables.c
|
||
|
|
||
|
CFLAGS_decode.o += -I$(OUTPUT)arch/x86/insn
|