1*5113495bSYour Nameifeq ($(obj),) 2*5113495bSYour Nameobj := . 3*5113495bSYour Nameendif 4*5113495bSYour Name 5*5113495bSYour NameDEPTH := ../.. 6*5113495bSYour Name 7*5113495bSYour Nameifeq ($(strip ${QCA_PARTNER_MAKE_F_SUPPORT}),1) 8*5113495bSYour Nameexport QCA_PARTNER_MAKE_F_INC=1 9*5113495bSYour Nameendif 10*5113495bSYour Name 11*5113495bSYour Nameinclude $(obj)/$(DEPTH)/os/linux/Makefile-linux.common 12*5113495bSYour Name 13*5113495bSYour NameINCS += -I$(HAL) -I$(HAL)/$(OS) -I$(ATH) -I$(ATH_RATE) -I$(ATH_PKTLOG) -I$(WLAN) -I$(IF_WLAN) -I$(ATH_SPECTRAL) -I$(ATHEROSPATH) -I$(obj)/$(DEPTH)/../../apps/spectral/common 14*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/inc -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/obj_mgr/inc 15*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/cmn_defs/inc 16*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/utils/nlink/inc 17*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/scan/dispatcher/inc 18*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/cmn_defs/inc 19*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/global_umac_dispatcher/lmac_if/inc 20*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/scheduler/inc 21*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/global_lmac_if/inc 22*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/scan 23*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/mgmt_txrx/dispatcher/inc 24*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/regulatory/dispatcher/inc 25*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/son/dispatcher/inc 26*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/son/os/linux 27*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/son/core/src 28*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/dfs/dispatcher/inc 29*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/spectral/inc 30*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/scan/inc 31*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/spectral/core 32*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/component_dev/direct_attach/spectral/core 33*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/target_if/direct_buf_rx/inc 34*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/wbuff/inc 35*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/cfg/inc 36*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/ini_cfg/inc/ 37*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/component_dev/wmi/inc 38*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/pld/inc 39*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/component_dev/dp/inc 40*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/mlme/connection_mgr/dispatcher/inc 41*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/thermal/dispatcher/inc 42*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/mlme/connection_mgr/utf/inc 43*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/mlo_mgr/inc 44*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/wifi_pos/inc 45*5113495bSYour Name 46*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/crypto/inc 47*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/component_dev/crypto/inc 48*5113495bSYour Name 49*5113495bSYour Nameifeq ($(WLAN_SUPPORT_GREEN_AP), 1) 50*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/green_ap/dispatcher/inc 51*5113495bSYour Nameendif 52*5113495bSYour Name 53*5113495bSYour NameINCS += -I$(obj)/$(HOST_CMN_CONVG_SRC)/ipa/core/inc \ 54*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/ipa/core/src \ 55*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/ipa/dispatcher/inc \ 56*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/ipa/dispatcher/src 57*5113495bSYour Name 58*5113495bSYour Name#Start of offload related deifines 59*5113495bSYour NameHOST_CMN_CONVG_SRC := $(DEPTH)/cmn_dev 60*5113495bSYour NameHOST_CMN_CONVG_HIF_SRC := $(DEPTH)/cmn_dev/hif/src 61*5113495bSYour NameHOST_CMN_CONVG_HIF_INC1 := $(DEPTH)/cmn_dev/hif 62*5113495bSYour NameHOST_CMN_CONVG_HTC_INC := $(DEPTH)/cmn_dev/htc 63*5113495bSYour NameHOST_CMN_CONVG_DP_INC := $(DEPTH)/cmn_dev/dp/wifi3.0 64*5113495bSYour NameHOST_CMN_CONVG_CFG_INC := $(DEPTH)/cmn_dev/wlan_cfg 65*5113495bSYour NameHOST_CMN_CONVG_HAL_INC := $(DEPTH)/cmn_dev/hal/inc 66*5113495bSYour NameHOST_CMN_CONVG_HAL_WIFI_INC := $(DEPTH)/cmn_dev/hal/wifi3.0 67*5113495bSYour Name 68*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/include -I$(obj)/$(DEPTH)/umac/include \ 69*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/crypto \ 70*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/scan -I$(obj)/$(DEPTH)/umac/resmgr \ 71*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/pm -I$(obj)/$(DEPTH)/umac/txrx \ 72*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/acs -I$(obj)/$(DEPTH)/umac/txbf \ 73*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/wnm \ 74*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/tdls \ 75*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/rpt_placement \ 76*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/wifipos \ 77*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/wds -I$(obj)/$(DEPTH)/umac/ique \ 78*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/vi_dbg \ 79*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/smart_antenna \ 80*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/smart_ant \ 81*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/ald \ 82*5113495bSYour Name -I$(obj)/$(DEPTH)/lmac/ath_pktlog \ 83*5113495bSYour Name -I$(obj)/$(DEPTH)/os/linux/mem/ \ 84*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/base \ 85*5113495bSYour Name -I$(obj)/$(DEPTH)/qca_ol \ 86*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/qdf/inc \ 87*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/qdf/linux/src \ 88*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/qal/inc \ 89*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/qal/linux/src \ 90*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif \ 91*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/inc \ 92*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/src \ 93*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/src/ce \ 94*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/src/pcie \ 95*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/src/snoc \ 96*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hif/src/dispatcher \ 97*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/pld_stub/inc \ 98*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hal/inc \ 99*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/hal/wifi3.0 \ 100*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/dp/inc \ 101*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/dp/wifi3.0 \ 102*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/wlan_cfg \ 103*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/htc \ 104*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/wmi/inc \ 105*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/obj_mgr/inc \ 106*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/scheduler/inc \ 107*5113495bSYour Name -I$(obj)/$(HOST_CMN_CONVG_SRC)/init_deinit/dispatcher/inc \ 108*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/inc \ 109*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/global_umac_dispatcher/lmac_if/inc \ 110*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/mgmt_txrx/dispatcher/inc \ 111*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/target_if/init_deinit/inc \ 112*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/global_lmac_if/inc \ 113*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux \ 114*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/cmn_defs/inc \ 115*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/regulatory/inc \ 116*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/target_if/core/inc \ 117*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/scan/dispatcher/inc \ 118*5113495bSYour Name -I$(obj)/$(DEPTH)/umac/scan \ 119*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/ol_if \ 120*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/target_if/scan/inc \ 121*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/serialization/core/inc \ 122*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/regulatory/dispatcher/inc \ 123*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/target_if/regulatory/inc \ 124*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/mlme/mlme_objmgr/dispatcher/inc/ \ 125*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/mlme/vdev_mgr/dispatcher/inc \ 126*5113495bSYour Name -I$(obj)/$(DEPTH)/cmn_dev/umac/mlme/pdev_mgr/dispatcher/inc \ 127*5113495bSYour Name 128*5113495bSYour NamePERF_PWR_OFFLOAD_INC += -I$(PERF_PWR_OFFLOAD_DIR_PATH)/wlan/include \ 129*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/wlan/ath_pktlog/include \ 130*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/htt/include \ 131*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/wlan/txrx/include \ 132*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/include \ 133*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/include \ 134*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/hif/pci \ 135*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/hif/pci/linux \ 136*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/os/linux/include \ 137*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/wlan/regdmn \ 138*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/wlan/lmac_offload_if \ 139*5113495bSYour Name -I$(HOST_CMN_CONVG_HIF_INC1)/inc \ 140*5113495bSYour Name -I$(HOST_CMN_CONVG_HIF_INC1)/src \ 141*5113495bSYour Name -I$(HOST_CMN_CONVG_HIF_INC1)/src/pcie \ 142*5113495bSYour Name -I$(HOST_CMN_CONVG_HIF_INC1)/src/snoc \ 143*5113495bSYour Name -I$(HOST_CMN_CONVG_SRC)/pld_stub/inc \ 144*5113495bSYour Name -I$(HOST_CMN_CONVG_HIF_SRC)/ce \ 145*5113495bSYour Name -I$(HOST_CMN_CONVG_HTC_INC) \ 146*5113495bSYour Name -I$(HOST_CMN_CONVG_CFG_INC) \ 147*5113495bSYour Name -I$(HOST_CMN_CONVG_DP_INC) \ 148*5113495bSYour Name -I$(HOST_CMN_CONVG_HAL_INC) \ 149*5113495bSYour Name -I$(HOST_CMN_CONVG_HAL_WIFI_INC) \ 150*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_WMI_SRC)/inc \ 151*5113495bSYour Name -I$(obj)/$(DEPTH)/offload/extra_include 152*5113495bSYour Name 153*5113495bSYour Name#Add HK/BL Fw header path required by common files 154*5113495bSYour Nameifeq (1, ${WIFI_TARGET_3_0}) 155*5113495bSYour NamePERF_PWR_OFFLOAD_INC += -I$(PERF_PWR_OFFLOAD_DIR_PATH)/include/fwcommon \ 156*5113495bSYour Name -I$(PERF_PWR_OFFLOAD_DIR_PATH)/include/fwcommon/htt_stats 157*5113495bSYour Nameelse 158*5113495bSYour NamePERF_PWR_OFFLOAD_INC += -I$(PERF_PWR_OFFLOAD_DIR_PATH)/include/legacy 159*5113495bSYour Nameendif 160*5113495bSYour Name 161*5113495bSYour NameINCS += $(PERF_PWR_OFFLOAD_INC) 162*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/target_if/spectral 163*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/wmi/inc 164*5113495bSYour NameINCS += -I$(PERF_PWR_OFFLOAD_DIR_PATH)/hw/include 165*5113495bSYour Name#end of offload related defines 166*5113495bSYour Name 167*5113495bSYour Name#Start of Legacy spectral related defines 168*5113495bSYour NameINCS += -I$(HAL) -I$(HAL)/$(OS) -I$(ATH) -I$(ATH_RATE) -I$(ATH_PKTLOG) -I$(WLAN) -I$(IF_WLAN) -I$(ATH_SPECTRAL) -I$(ATHEROSPATH) -I$(obj)/$(DEPTH)/../../apps/spectral/common 169*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/inc -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/obj_mgr/inc 170*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/cmn_defs/inc 171*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/scan/dispatcher/inc 172*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/cmn_defs/inc 173*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/global_umac_dispatcher/lmac_if/inc 174*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/scheduler/inc 175*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/scan 176*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/mgmt_txrx/dispatcher/inc 177*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/regulatory/dispatcher/inc 178*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/dfs/dispatcher/inc 179*5113495bSYour Name 180*5113495bSYour Name#End of legacy spectral defines 181*5113495bSYour Name 182*5113495bSYour Nameifeq ($(QCA_AIRTIME_FAIRNESS), 1) 183*5113495bSYour Nameccflags-y+= -DWLAN_ATF_ENABLE 184*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/airtime_fairness/dispatcher/inc 185*5113495bSYour Nameendif 186*5113495bSYour Name 187*5113495bSYour Nameifeq ($(UNIFIED_SMARTANTENNA), 1) 188*5113495bSYour Nameccflags-y+= -DWLAN_SA_API_ENABLE 189*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/umac/sa_api/dispatcher/inc 190*5113495bSYour Nameendif 191*5113495bSYour Name 192*5113495bSYour Nameifeq ($(QCA_CFR_SUPPORT), 1) 193*5113495bSYour Nameccflags-y+= -DWLAN_CFR_ENABLE=1 194*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cfr/dispatcher/inc 195*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/component_dev/qal/inc 196*5113495bSYour Nameendif 197*5113495bSYour Name 198*5113495bSYour Nameifeq ($(strip ${QCA_DFS_COMPONENT_ENABLE}),1) 199*5113495bSYour Nameccflags-y+= -DDFS_COMPONENT_ENABLE 200*5113495bSYour Nameendif 201*5113495bSYour Name 202*5113495bSYour Nameobj-m += qca_spectral.o 203*5113495bSYour Name 204*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/twt/dispatcher/inc 205*5113495bSYour NameINCS += -I$(obj)/$(DEPTH)/spectral/dispatcher/inc 206*5113495bSYour Name 207*5113495bSYour Nameinc_file := $(obj)/$(DEPTH)/spectral_inc_opts 208*5113495bSYour Nameinc_var := $(shell echo $(INCS) > $(inc_file)) 209*5113495bSYour Namevar := "@$(inc_file)" 210*5113495bSYour Name 211*5113495bSYour Nameccflags-y+= $(var) $(COPTS) -DSPECTRAL_USE_NETLINK_SOCKETS=1 -DWLAN_SPECTRAL_ENABLE=1 212*5113495bSYour Nameccflags-y+= -DSPECTRAL_USE_NL_BCAST=1 213*5113495bSYour Name 214*5113495bSYour Nameifeq ($(strip ${QCA_PARTNER_MAKE_F_SUPPORT}),1) 215*5113495bSYour NameMOD_CFLAGS = -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(qca_spectral.mod)" -D"KBUILD_MODNAME=KBUILD_STR(qca_spectral)" 216*5113495bSYour Nameendif 217*5113495bSYour Name 218*5113495bSYour Name 219*5113495bSYour NameSPECTRAL_TIF_OBJS += $(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral.o \ 220*5113495bSYour Name $(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_netlink.o \ 221*5113495bSYour Name $(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_phyerr.o \ 222*5113495bSYour Name $(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_sim.o 223*5113495bSYour Name 224*5113495bSYour NameSPECTRAL_CMN_OBJS += core/spectral_offload.o \ 225*5113495bSYour Name core/spectral_common.o \ 226*5113495bSYour Name dispatcher/src/wlan_spectral_utils_api.o \ 227*5113495bSYour Name dispatcher/src/wlan_spectral_ucfg_api.o \ 228*5113495bSYour Name dispatcher/src/wlan_spectral_tgt_api.o \ 229*5113495bSYour Name core/spectral_module.o \ 230*5113495bSYour Name $(DEPTH)/cmn_dev/os_if/linux/spectral/src/wlan_cfg80211_spectral.o \ 231*5113495bSYour Name $(DEPTH)/cmn_dev/os_if/linux/spectral/src/os_if_spectral_netlink.o 232*5113495bSYour Name 233*5113495bSYour Nameqca_spectral-objs += ${SPECTRAL_CMN_OBJS} \ 234*5113495bSYour Name ${SPECTRAL_TIF_OBJS} 235*5113495bSYour Name 236*5113495bSYour Nameifeq ($(strip ${QCA_PARTNER_MAKE_F_SUPPORT}),1) 237*5113495bSYour Nameall: qca_spectral.ko 238*5113495bSYour Name 239*5113495bSYour Nameqca_spectral.mod.o: qca_spectral.mod.c 240*5113495bSYour Name ${CC} -c -o $@ ${ccflags-y} ${MOD_CFLAGS} $< 241*5113495bSYour Name 242*5113495bSYour Nameqca_spectral.o: ${qca_spectral-objs} 243*5113495bSYour Name $(LD) -m elf32btsmip -r -o qca_spectral.o $(qca_spectral-objs) 244*5113495bSYour Name $(KERNELPATH)/scripts/mod/modpost qca_spectral.o 245*5113495bSYour Name 246*5113495bSYour Nameqca_spectral.ko: qca_spectral.o qca_spectral.mod.o 247*5113495bSYour Name $(LD) $(LDOPTS) -o qca_spectral.ko qca_spectral.o qca_spectral.mod.o 248*5113495bSYour Name 249*5113495bSYour Name%.o: %.c 250*5113495bSYour Name ${CC} -c -o $@ ${ccflags-y} $< 251*5113495bSYour Nameendif 252