summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2018-01-09 11:24:55 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2018-01-24 19:39:31 +0800
commit6e98d17e6a67d8ba1b74bf1f91010f150d796c1b (patch)
treee1eb0ae9e4c06c096fd7bf8c668068a54a781019 /build
parent0a5adeaa17c16e92ed41abf445cf57ed798014e5 (diff)
downloadgps-6e98d17e6a67d8ba1b74bf1f91010f150d796c1b.tar.gz
Move GNSS_CFLAGS to build/ to be fully included
GNSS_CFLAGS included in pla module cannot be included by all the modules. Define it in build/target_specific_features.mk to make it included by the whole project. Change-Id: Ib13c43a65ecd14a7a97050dd80b4dce6aa8ad339 CRs-fixed: 2168176
Diffstat (limited to 'build')
-rw-r--r--build/target_specific_features.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/target_specific_features.mk b/build/target_specific_features.mk
new file mode 100644
index 0000000..943e231
--- /dev/null
+++ b/build/target_specific_features.mk
@@ -0,0 +1,17 @@
+GNSS_CFLAGS := \
+ -Werror \
+ -Wno-error=unused-parameter \
+ -Wno-error=format \
+ -Wno-error=macro-redefined \
+ -Wno-error=reorder \
+ -Wno-error=missing-braces \
+ -Wno-error=self-assign \
+ -Wno-error=enum-conversion \
+ -Wno-error=logical-op-parentheses \
+ -Wno-error=null-arithmetic \
+ -Wno-error=null-conversion \
+ -Wno-error=parentheses-equality \
+ -Wno-error=undefined-bool-conversion \
+ -Wno-error=tautological-compare \
+ -Wno-error=switch \
+ -Wno-error=date-time