summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-15 06:27:21 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-17 03:25:10 +0200
commitb74c0cad3d5f4f2252f1a42e160dc0e202e88e93 (patch)
treed99b0896b69445520e7074c4c076cad5b99e9a4a /arch/riscv
parentmemory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ (diff)
downloadlinux-b74c0cad3d5f4f2252f1a42e160dc0e202e88e93.tar.xz
linux-b74c0cad3d5f4f2252f1a42e160dc0e202e88e93.zip
riscv: drop unneeded -Wall addition
The top level Makefile adds -Wall globally: KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ For riscv, I see two "-Wall" added for compiling each object. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index f8b3b07e4247..7a117be8297c 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -34,8 +34,6 @@ else
KBUILD_LDFLAGS += -melf32lriscv
endif
-KBUILD_CFLAGS += -Wall
-
# ISA string setting
riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima