Add glibc support(default)
Change-Id: I7675edcf14df8707ecd424a962e4cc464a4c6ae4
diff --git a/mbtk/Make.defines b/mbtk/Make.defines
index 3f25cb4..83117fa 100755
--- a/mbtk/Make.defines
+++ b/mbtk/Make.defines
@@ -128,45 +128,36 @@
endif
endif
-MBTK_AF_SUPPORT=$(shell cat $(ROOT)/config | grep CONFIG_AF_SUPPORT | cut -d '=' -f 2)
-$(info MBTK_AF_SUPPORT=$(MBTK_AF_SUPPORT))
ifeq ($(MBTK_AF_SUPPORT), y)
DEFINE += -DMBTK_AF_SUPPORT
endif
-MBTK_YX_SUPPORT=$(shell cat $(ROOT)/config | grep CONFIG_YX_SUPPORT | cut -d '=' -f 2)
-$(info MBTK_YX_SUPPORT=$(MBTK_YX_SUPPORT))
ifeq ($(MBTK_YX_SUPPORT), y)
DEFINE += -DMBTK_YX_SUPPORT
endif
-MBTK_SG_SUPPORT=$(shell cat $(ROOT)/config | grep CONFIG_SG_SUPPORT | cut -d '=' -f 2)
-$(info MBTK_SG_SUPPORT=$(MBTK_SG_SUPPORT))
ifeq ($(MBTK_SG_SUPPORT), y)
DEFINE += -DMBTK_SG_SUPPORT
-DEFINE += -DMBTK_ALL_CID_SUPPORT
endif
-MBTK_ALL_CID_SUPPORT=$(shell cat $(ROOT)/config | grep CONFIG_MBTK_ALL_CID_SUPPORT | cut -d '=' -f 2)
-$(info MBTK_ALL_CID_SUPPORT=$(MBTK_ALL_CID_SUPPORT))
ifeq ($(MBTK_ALL_CID_SUPPORT), y)
DEFINE += -DMBTK_ALL_CID_SUPPORT
endif
-MBTK_GNSS_MODE=$(shell cat $(ROOT)/config | grep CONFIG_MBTK_GNSS_MODE | cut -d '=' -f 2)
-$(info MBTK_GNSS_MODE=$(MBTK_GNSS_MODE))
ifeq ($(MBTK_GNSS_MODE), gnss_6228)
DEFINE += -DMBTK_GNSS_6228
else
ifeq ($(MBTK_GNSS_MODE), gnss_5311)
DEFINE += -DMBTK_GNSS_5311
else
+ifeq ($(MBTK_GNSS_MODE), gnss_8122)
DEFINE += -DMBTK_GNSS_8122
+else
+DEFINE += -DMBTK_GNSS_ALL
+endif
endif
endif
-MBTK_DUMP_SUPPORT=$(shell cat $(ROOT)/config | grep CONFIG_MBTK_DUMP_SUPPORT | cut -d '=' -f 2)
-$(info MBTK_DUMP_SUPPORT=$(MBTK_DUMP_SUPPORT))
ifeq ($(MBTK_DUMP_SUPPORT), y)
DEFINE += -DMBTK_DUMP_SUPPORT
endif