drivers: connectivity: build everything in kernel image

This commit is contained in:
Fede2782 2024-04-28 10:57:12 +02:00
parent a1e16881b9
commit 6059e0c826
No known key found for this signature in database
GPG key ID: 1DD0FACD495CE046
16 changed files with 16 additions and 16 deletions

View file

@ -129,7 +129,7 @@ ccflags-y += -Werror
$(MOD_NAME)-objs := $(CFILES:.c=.o)
obj-m += $(MOD_NAME).o
obj-y += $(MOD_NAME).o
ifneq ($(TARGET_BUILD_VARIANT), user)
ccflags-y += -DBTMTK_DEBUG_SOP

View file

@ -71,7 +71,7 @@ ccflags-y += -I$(src)/include/ -I$(src)/
$(MOD_NAME)-objs := $(CFILES:.c=.o)
obj-m += $(MOD_NAME).o
obj-y += $(MOD_NAME).o
#VPATH = /opt/toolchains/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux

View file

@ -42,7 +42,7 @@ ccflags-y += -I$(KO_CODE_PATH)/include
# ConnFem Module
###############################################################################
MODULE_NAME := connfem
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += connfem_module.o
$(MODULE_NAME)-objs += connfem_api.o

View file

@ -40,7 +40,7 @@ ccflags-y += -I$(src)/include
# ConnFem Module
###############################################################################
MODULE_NAME := connfem
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += connfem_module.o
$(MODULE_NAME)-objs += connfem_api.o

View file

@ -52,7 +52,7 @@ endif
# Makefile generated by Mediatek
# fm support
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
ifeq ($(CFG_FM_CHIP),)
FM_CHIP := mt6631_6635

View file

@ -66,7 +66,7 @@ ccflags-y += -I$(srctree)/drivers/devfreq
###############################################################################
MODULE_NAME := gps_drv
obj-m += $(MODULE_NAME).o
obj-o += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := n
GPS_DL_SUPPORT := n

View file

@ -57,7 +57,7 @@ KBUILD_MODPOST_FAIL_ON_WARNINGS := y
###############################################################################
MODULE_NAME := gps_drv_dl_$(GPS_PLATFORM)
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := n
GPS_DL_HAS_MOCK := n

View file

@ -57,7 +57,7 @@ KBUILD_MODPOST_FAIL_ON_WARNINGS := y
###############################################################################
GPS_PLATFORM := v010
MODULE_NAME := gps_drv_dl_$(GPS_PLATFORM)
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := n
GPS_DL_HAS_MOCK := n

View file

@ -57,7 +57,7 @@ KBUILD_MODPOST_FAIL_ON_WARNINGS := y
###############################################################################
export GPS_PLATFORM := v030
MODULE_NAME := gps_drv_dl_$(GPS_PLATFORM)
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := n
GPS_DL_HAS_MOCK := n

View file

@ -57,7 +57,7 @@ KBUILD_MODPOST_FAIL_ON_WARNINGS := y
###############################################################################
export GPS_PLATFORM := v050
MODULE_NAME := gps_drv_dl_$(GPS_PLATFORM)
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := n
GPS_DL_HAS_MOCK := n

View file

@ -33,7 +33,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/connectivity/power_throttling
###############################################################################
GPS_PWR_TEST_SUPPORT :=n
MODULE_NAME := gps_pwr
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += gps_pwr.o
ifeq ($(GPS_PWR_TEST_SUPPORT),y)

View file

@ -33,7 +33,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/connectivity/power_throttling
###############################################################################
GPS_PWR_TEST_SUPPORT :=n
MODULE_NAME := gps_pwr
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += gps_pwr.o
ifeq ($(GPS_PWR_TEST_SUPPORT),y)

View file

@ -33,7 +33,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/conn_scp/conap_scp
###############################################################################
GPS2SCP_TEST_SUPPORT :=n
MODULE_NAME := gps_scp
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += gps2scp.o
ifeq ($(GPS2SCP_TEST_SUPPORT),y)

View file

@ -33,7 +33,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/conn_scp/conap_scp
###############################################################################
GPS2SCP_TEST_SUPPORT :=n
MODULE_NAME := gps_scp
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
$(MODULE_NAME)-objs += gps2scp.o
ifeq ($(GPS2SCP_TEST_SUPPORT),y)

View file

@ -57,7 +57,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/connectivity/common
###############################################################################
MODULE_NAME := gps_drv_stp
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := y
GPS_SRC_FOLDER := $(srctree)/drivers/misc/mediatek/connectivity/gps/gps_stp

View file

@ -61,7 +61,7 @@ ccflags-y += -I$(srctree)/drivers/misc/mediatek/connectivity/common
###############################################################################
MODULE_NAME := gps_drv_stp
obj-m += $(MODULE_NAME).o
obj-y += $(MODULE_NAME).o
GPS_DRV_CONTROL_LNA := y
GPS_SRC_FOLDER := $(TOP)/vendor/mediatek/kernel_modules/connectivity/gps/gps_stp