drivers: connectivity: build everything in kernel image
This commit is contained in:
parent
a1e16881b9
commit
6059e0c826
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue