[Bugfix][T106BUG-542][GNSS]Organize GNSS's code to be compatible with V4 modules
Only Configure :No
Affected branch: master
Affected module: GNSS
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update: NO
Change-Id: I38ceee197c6920165f8d87c5662f077f082b5c97
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-gnss/makefile b/cap/zx297520v3/src/lynq/lib/liblynq-qser-gnss/makefile
index 8ab6383..174c713 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-gnss/makefile
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-gnss/makefile
@@ -11,6 +11,13 @@
ifeq ($(strip $(TARGET_PLATFORM)), T106)
LOCAL_CFLAGS += -DBINDER_IPC_32BIT=1 -DHAVE_ENDIAN_H -DHAVE_PTHREADS -DHAVE_SYS_UIO_H -DHAVE_POSIX_FILEMAP -DHAVE_STRLCPY -DHAVE_PRCTL -DHAVE_MEMSET16 -DHAVE_MEMSET32 -DANDROID_SMP=0
endif
+
+ifeq ($(strip $(MOBILETEK_GNSS_TYPE)), HD)
+ LOCAL_CFLAGS += -DHD_GNSS
+else ifeq ($(strip $(MOBILETEK_GNSS_TYPE)), HX)
+ LOCAL_CFLAGS += -DHX_GNSS
+endif
+
$(warning lynq qser gnss demo ROOT = $(ROOT), includedir = $(includedir))
LOCAL_PATH = .