blob: c2d822a602e8fc1887fd75b98d83c054b7b8c79f [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
ifeq ($(MTK_GPS_SUPPORT), true)
include $(CLEAR_VARS)
LOCAL_MODULE := gps_drv.ko
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_OWNER := mtk
LOCAL_INIT_RC := init.gps_drv.rc
ifeq ($(MTK_GPS_CHIP), MT3303)
GPS_OPTS := CONFIG_MTK_CONN_MT3303_CHIP_SUPPORT=y
include $(MTK_KERNEL_MODULE)
$(linked_module): OPTS +=$(GPS_OPTS)
else
LOCAL_REQUIRED_MODULES := wmt_drv.ko
include $(MTK_KERNEL_MODULE)
endif
endif