diff options
author | Srikant Patnaik | 2015-01-13 15:08:24 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-13 15:08:24 +0530 |
commit | 97327692361306d1e6259021bc425e32832fdb50 (patch) | |
tree | fe9088f3248ec61e24f404f21b9793cb644b7f01 /drivers/misc/mediatek/combo_mt66xx/wmt | |
parent | 2d05a8f663478a44e088d122e0d62109bbc801d0 (diff) | |
parent | a3a8b90b61e21be3dde9101c4e86c881e0f06210 (diff) | |
download | FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.tar.gz FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.tar.bz2 FOSSEE-netbook-kernel-source-97327692361306d1e6259021bc425e32832fdb50.zip |
dirty fix to merging
Diffstat (limited to 'drivers/misc/mediatek/combo_mt66xx/wmt')
-rwxr-xr-x | drivers/misc/mediatek/combo_mt66xx/wmt/Makefile | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/drivers/misc/mediatek/combo_mt66xx/wmt/Makefile b/drivers/misc/mediatek/combo_mt66xx/wmt/Makefile new file mode 100755 index 00000000..64e0b362 --- /dev/null +++ b/drivers/misc/mediatek/combo_mt66xx/wmt/Makefile @@ -0,0 +1,78 @@ +MTK_WCN_CMB_SDIO_EINT := y +CONFIG_MTK_COMBO_WMT:=m +CONFIG_MTK_COMBO_BT:=m +CONFIG_MTK_COMBO_GPS:=m + +ccflags-y += -I$(src)/linux/include -I$(src)/core/include -I$(src)/include -I$(src)/ +ccflags-y += -DWMT_PLAT_APEX=1 +ccflags-y += -DWMT_PLAT_ALPS=0 +ccflags-y += -DWMT_UART_RX_MODE_WORK=1 # 1. work thread 0. tasklet +ccflags-y += -DREMOVE_MK_NODE=1 +ifeq ($(strip $(MTK_WCN_CMB_SDIO_EINT)), y) +ccflags-y += -DMTK_CMB_SDIO_EINT +endif + +#stub to build-in +obj-y += platform/vendor/mtk_wcn_cmb_stub.o + +#Common SDIO driver for WIFI and STP(mtk_hif_sdio.ko) +obj-$(CONFIG_MTK_COMBO_WMT) += mtk_hif_sdio.o +mtk_hif_sdio-objs := linux/hif_sdio.o \ + linux/hif_sdio_chrdev.o \ + linux/osal.o + +ifeq ($(MTK_WCN_CMB_SDIO_EINT), y) +mtk_hif_sdio-objs += linux/hif_sdio_eint.o +endif + +# WMT/STP DRIVER(mtk_stp_wmt.ko) +obj-$(CONFIG_MTK_COMBO_WMT) += mtk_stp_wmt.o +mtk_stp_wmt-objs := core/wmt_core.o \ + core/wmt_ctrl.o \ + core/wmt_func.o \ + core/wmt_ic_6620.o \ + core/wmt_lib.o \ + core/wmt_conf.o \ + core/wmt_dbg.o \ + core/wmt_exp.o \ + core/wmt_ic_6628.o \ + linux/wmt_dev.o \ + linux/wmt_tm.o \ + platform/vendor/wmt_plat.o \ + platform/vendor/wmt_plat_stub.o \ + platform/vendor/mtk_wcn_cmb_hw.o \ + core/stp_exp.o \ + core/stp_core.o \ + core/psm_core.o \ + core/btm_core.o \ + linux/stp_dbg.o +ifeq ($(CONFIG_MTK_COMBO_WMT), m) +mtk_stp_wmt-objs += linux/osal.o +endif + +#WMT/STP use UART interface(mtk_stp_uart.ko) +obj-$(CONFIG_MTK_COMBO_WMT) += mtk_stp_uart.o +mtk_stp_uart-objs := linux/stp_uart.o + +#WMT/STP use SDIO interface(mtk_stp_sdio.ko) +obj-$(CONFIG_MTK_COMBO_WMT) += mtk_stp_sdio.o +mtk_stp_sdio-objs := linux/stp_sdio.o \ + +ifeq ($(CONFIG_MTK_COMBO_WMT), m) +mtk_stp_sdio-objs += linux/osal.o +endif + +#BT character device driver +obj-$(CONFIG_MTK_COMBO_BT) += mtk_stp_bt.o +mtk_stp_bt-objs := linux/stp_chrdev_bt.o + +#GPS character device driver +obj-$(CONFIG_MTK_COMBO_GPS) += mtk_stp_gps.o +mtk_stp_gps-objs := linux/stp_chrdev_gps.o + +#WIFI character device driver +obj-$(CONFIG_MTK_COMBO_WIFI) += mtk_wmt_wifi.o +mtk_wmt_wifi-objs := linux/wmt_chrdev_wifi.o + +#FM don't need such character device + |