summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-08-05 16:24:25 -0700
committerAndreas Gampe <agampe@google.com>2015-08-05 16:24:25 -0700
commit46d30ac5108c1a691e704becc097c677a07c0279 (patch)
treef90d8481f6728897721ffa68a271edf0b5674f11
parent4ccd0b98b058232d43fe507eedae07cf50047377 (diff)
downloadinvensense-46d30ac5108c1a691e704becc097c677a07c0279.tar.gz
65xx: Minimally refactor Android.mk
For build-system CFLAGS clean-up. Bug: 18632512 Change-Id: Ife94175e255e67e2ab1fd3dc1808d322cc1b1b69
-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