summaryrefslogtreecommitdiffstats
path: root/arch/s390/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-17 16:54:24 +0900
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-04 15:03:22 +0200
commite888f7419dff260202e586421b44cb526a600cc2 (patch)
treeb6eb207ad69c393f8c9a623876950ede55af8b83 /arch/s390/tools
parent31885a8dad16a319a394d82807c3b708882b50a1 (diff)
downloadlinux-e888f7419dff260202e586421b44cb526a600cc2.tar.gz
linux-e888f7419dff260202e586421b44cb526a600cc2.tar.bz2
linux-e888f7419dff260202e586421b44cb526a600cc2.zip
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>
Diffstat (limited to 'arch/s390/tools')
-rw-r--r--arch/s390/tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/tools/Makefile b/arch/s390/tools/Makefile
index 2342b84b3386..4ff6a2124522 100644
--- a/arch/s390/tools/Makefile
+++ b/arch/s390/tools/Makefile
@@ -15,7 +15,7 @@ hostprogs-y += gen_facilities
hostprogs-y += gen_opcode_table
HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
-HOSTCFLAGS_gen_opcode_table.o += -Wall $(LINUXINCLUDE)
+HOSTCFLAGS_gen_opcode_table.o += -Wall
# Ensure output directory exists
_dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')