projects
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6e573
)
riscv: drop unneeded -Wall addition
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Wed, 15 May 2019 04:27:21 +0000
(13:27 +0900)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 01:25:10 +0000
(10:25 +0900)
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>
arch/riscv/Makefile
patch
|
blob
|
history
diff --git
a/arch/riscv/Makefile
b/arch/riscv/Makefile
index f8b3b07e42474ea02ff44a5471fa6073838a9a35..7a117be8297c89253fbe0ce07397a10a25181238 100644
(file)
--- 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