s390: do not pass $(LINUXINCLUDE) to gen_opcode_table.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 May 2019 07:54:24 +0000 (16:54 +0900)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 4 Jun 2019 13:03:22 +0000 (15:03 +0200)
commite888f7419dff260202e586421b44cb526a600cc2
treeb6eb207ad69c393f8c9a623876950ede55af8b83
parent31885a8dad16a319a394d82807c3b708882b50a1
s390: do not pass $(LINUXINCLUDE) to gen_opcode_table.c

I guess HOSTCFLAGS_gen_opcode_table.o was blindly copied from
HOSTCFLAGS_gen_facilities.o

The reason of adding $(LINUXINCLUDE) to HOSTCFLAGS_gen_facilities.o
is because gen_facilities.c references some CONFIG options. (Kbuild
does not cater to this for host tools automatically.)

On the other hand, gen_opcode_table.c does not reference CONFIG
options at all. So, there is no good reason to pass $(LINUXINCLUDE).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/tools/Makefile