forked from Minki/linux
eda3dc9058
Some alternatives associated with a specific feature need to be treated in a special way. Since the features and how to treat them vary from one architecture to another, move the special case handling to arch specific code. Reviewed-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Julien Thierry <jthierry@redhat.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
14 lines
452 B
Plaintext
14 lines
452 B
Plaintext
objtool-y += special.o
|
|
objtool-y += decode.o
|
|
|
|
inat_tables_script = ../arch/x86/tools/gen-insn-attr-x86.awk
|
|
inat_tables_maps = ../arch/x86/lib/x86-opcode-map.txt
|
|
|
|
$(OUTPUT)arch/x86/lib/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/lib/inat-tables.c
|
|
|
|
CFLAGS_decode.o += -I$(OUTPUT)arch/x86/lib
|