summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-08-06 01:40:11 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-06 01:40:11 +0000
commita1fe5085015a7d4152fcb8b7e93106e37c84b4a5 (patch)
tree6bb71b631ceee4fa26100e2c15b937887ee46465
parent8e81112b8b38d9294a56587b85e08205ad15ef90 (diff)
parentd411d613f60e6305d48ade617c848262b62a582a (diff)
downloadinvensense-a1fe5085015a7d4152fcb8b7e93106e37c84b4a5.tar.gz
am d411d613: Merge "65xx: Minimally refactor Android.mk"
* commit 'd411d613f60e6305d48ade617c848262b62a582a': 65xx: Minimally refactor Android.mk
-rw-r--r--65xx/libsensors_iio/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/65xx/libsensors_iio/Android.mk b/65xx/libsensors_iio/Android.mk
index ee4b021..7c21a6a 100644
--- a/65xx/libsensors_iio/Android.mk
+++ b/65xx/libsensors_iio/Android.mk
@@ -17,7 +17,6 @@ LOCAL_PATH := $(call my-dir)
# Too many benign warnings to be fixed later.
my_ignored_clang_warnings := \
- -Wno-unused-parameter \
-Wno-unused-private-field \
-Wno-gnu-designator
@@ -30,6 +29,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := invensense
LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" -Werror -Wall
+LOCAL_CFLAGS += -Wno-unused-parameter
# ANDROID version check
MAJOR_VERSION :=$(shell echo $(PLATFORM_VERSION) | cut -f1 -d.)
@@ -122,6 +122,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/software/core/driver/include/linux
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" -Werror -Wall
+LOCAL_CFLAGS += -Wno-unused-parameter
ifeq ($(VERSION_JB),true)
LOCAL_CFLAGS += -DANDROID_JELLYBEAN