Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
16 lines
415 B
Makefile
16 lines
415 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
ifeq ($(MTK_GPS_SUPPORT), yes)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := gps_drv_dl_$(GPS_PLATFORM).ko
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_OWNER := mtk
|
|
LOCAL_INIT_RC := init.gps_drv.rc
|
|
LOCAL_REQUIRED_MODULES := conninfra.ko
|
|
include $(MTK_KERNEL_MODULE)
|
|
$(warning GPS_PLATFORM=$(GPS_PLATFORM))
|
|
GPS_OPTS := GPS_PLATFORM=$(GPS_PLATFORM)
|
|
$(linked_module): OPTS += $(GPS_OPTS)
|
|
endif
|