summaryrefslogtreecommitdiffstats
path: root/bcmdhd/dhdutil
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-07 13:54:17 -0800
committerChih-Hung Hsieh <chh@google.com>2017-11-07 14:31:49 -0800
commitdc2252cd2c038d6c00c17bf3b0bcedb083d9899a (patch)
treee39681798283208f514560fd36c43312a29870d4 /bcmdhd/dhdutil
parentce868768b2f37e0d0b8df564b8ad6294a2245ae6 (diff)
downloadandroid_hardware_broadcom_wlan-dc2252cd2c038d6c00c17bf3b0bcedb083d9899a.tar.gz
android_hardware_broadcom_wlan-dc2252cd2c038d6c00c17bf3b0bcedb083d9899a.tar.bz2
android_hardware_broadcom_wlan-dc2252cd2c038d6c00c17bf3b0bcedb083d9899a.zip
Use -Werror in hardware/broadcom/wlan/bcmdhd
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I8ba575deb0480d1a8e27911c464cdf9984adc2c9
Diffstat (limited to 'bcmdhd/dhdutil')
-rw-r--r--bcmdhd/dhdutil/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/bcmdhd/dhdutil/Android.mk b/bcmdhd/dhdutil/Android.mk
index 4294413..c3a5614 100644
--- a/bcmdhd/dhdutil/Android.mk
+++ b/bcmdhd/dhdutil/Android.mk
@@ -30,6 +30,7 @@ LOCAL_CFLAGS := -DSDTEST -DTARGETENV_android -Dlinux -DLINUX
ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -mabi=aapcs-linux
endif
+LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)