summaryrefslogtreecommitdiff
path: root/arch/s390/tools/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-17 10:54:25 +0300
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-04 16:03:29 +0300
commitf1090b61a76f4af523418a4ff3de4324ae72ec47 (patch)
treef3249cc1a8ce8de018ac5a8304869a131ca9b3a1 /arch/s390/tools/Makefile
parente888f7419dff260202e586421b44cb526a600cc2 (diff)
downloadlinux-f1090b61a76f4af523418a4ff3de4324ae72ec47.tar.xz
s390: drop unneeded -Wall addition from tools Makefile
The top level Makefile adds -Wall globally for all host tools: KBUILD_HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ I see two "-Wall" added for compiling these tools. Of course, it is allowed to pass the same option multiple times, but we do not need to do so. 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/Makefile')
-rw-r--r--arch/s390/tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/tools/Makefile b/arch/s390/tools/Makefile
index 4ff6a2124522..8fb66c99840a 100644
--- a/arch/s390/tools/Makefile
+++ b/arch/s390/tools/Makefile
@@ -14,8 +14,7 @@ kapi: $(kapi-hdrs-y)
hostprogs-y += gen_facilities
hostprogs-y += gen_opcode_table
-HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
-HOSTCFLAGS_gen_opcode_table.o += -Wall
+HOSTCFLAGS_gen_facilities.o += $(LINUXINCLUDE)
# Ensure output directory exists
_dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')