SmartAudio/lichee/linux-4.9/tools/objtool/arch/x86/Build

13 lines
423 B
Plaintext
Raw Normal View History

2018-07-13 01:31:50 +00:00
objtool-y += decode.o
2018-12-13 10:48:25 +00:00
inat_tables_script = arch/x86/tools/gen-insn-attr-x86.awk
inat_tables_maps = arch/x86/lib/x86-opcode-map.txt
2018-07-13 01:31:50 +00:00
2018-12-13 10:48:25 +00:00
$(OUTPUT)arch/x86/lib/inat-tables.c: $(inat_tables_script) $(inat_tables_maps)
2018-07-13 01:31:50 +00:00
$(call rule_mkdir)
$(Q)$(call echo-cmd,gen)$(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@
2018-12-13 10:48:25 +00:00
$(OUTPUT)arch/x86/decode.o: $(OUTPUT)arch/x86/lib/inat-tables.c
2018-07-13 01:31:50 +00:00
2018-12-13 10:48:25 +00:00
CFLAGS_decode.o += -I$(OUTPUT)arch/x86/lib