You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
972 B

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# variable
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
objects :=
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8822BEH),y)
objects += pcie_rtl8822beh
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8822BS),y)
objects += sdio_rtl8822bs
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8822CS),y)
objects += sdio_rtl8822cs
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8822CU),y)
objects += usb_rtl8822cu
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_MT7961U),y)
objects += usb_mt7961u
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_MT7668U),y)
objects += usb_mt7668u
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8723DU),y)
objects += usb_rtl8723du
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8852AS),y)
objects += sdio_rtl8852as
endif
ifeq ($(CFG_SOCT_WIFI_DEVICE_RTL8852AE),y)
objects += pcie_rtl8852ae
endif
ifneq ($(objects),)
obj-y += $(addsuffix /,$(objects))
else
$(warning "If wifi support, you must choose one wifi device at least!!")
endif