projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba910d
)
drivers/net/wireless/ath/wil6210: Makefile, only -Werror when no -W* in EXTRA_CFLAGS
author
Chen Gang
<
[email protected]
>
Wed, 27 Feb 2013 06:55:06 +0000
(14:55 +0800)
committer
John W. Linville
<
[email protected]
>
Wed, 6 Mar 2013 21:25:48 +0000
(16:25 -0500)
When make with EXTRA_CFLAGS=-W, it will report error.
so give a check in Makefile.
Signed-off-by: Chen Gang <
[email protected]
>
Acked-by: Vladimir Kondratiev <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/wil6210/Makefile
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wil6210/Makefile
b/drivers/net/wireless/ath/wil6210/Makefile
index 9396dc9fe3c5c475588de3e2adce034eb66b6a42..d288eea0a26a0136bd66b8c8bed4e8a1dd4dd2ee 100644
(file)
--- a/
drivers/net/wireless/ath/wil6210/Makefile
+++ b/
drivers/net/wireless/ath/wil6210/Makefile
@@
-9,5
+9,7
@@
wil6210-objs += wmi.o
wil6210-objs += interrupt.o
wil6210-objs += txrx.o
-subdir-ccflags-y += -Werror
+ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
+ subdir-ccflags-y += -Werror
+endif
subdir-ccflags-y += -D__CHECK_ENDIAN__