forked from Minki/linux
e96766958c
Having the pointer to lib_ops in the config makes it impossible to split the driver into different modules. Determine the ops based on the device family enumeration to get rid of the direct pointer. Also move all the opmode specific code from the iwl-[1256]000.c files into a new file iwl-agn-devices.c so that the former only have configuration data now. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
29 lines
970 B
Makefile
29 lines
970 B
Makefile
# WIFI
|
|
obj-$(CONFIG_IWLWIFI) += iwlwifi.o
|
|
iwlwifi-objs := iwl-agn.o iwl-agn-rs.o iwl-mac80211.o
|
|
iwlwifi-objs += iwl-ucode.o iwl-agn-tx.o iwl-debug.o
|
|
iwlwifi-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o
|
|
iwlwifi-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-rx.o
|
|
|
|
iwlwifi-objs += iwl-core.o iwl-eeprom.o iwl-power.o
|
|
iwlwifi-objs += iwl-scan.o iwl-led.o
|
|
iwlwifi-objs += iwl-agn-rxon.o iwl-agn-devices.o
|
|
iwlwifi-objs += iwl-5000.o
|
|
iwlwifi-objs += iwl-6000.o
|
|
iwlwifi-objs += iwl-1000.o
|
|
iwlwifi-objs += iwl-2000.o
|
|
iwlwifi-objs += iwl-pci.o
|
|
iwlwifi-objs += iwl-drv.o
|
|
iwlwifi-objs += iwl-notif-wait.o
|
|
iwlwifi-objs += iwl-trans-pcie.o iwl-trans-pcie-rx.o iwl-trans-pcie-tx.o
|
|
|
|
|
|
iwlwifi-$(CONFIG_IWLWIFI_UCODE16) += iwl-phy-db.o
|
|
iwlwifi-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
|
|
iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
|
|
iwlwifi-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += iwl-testmode.o
|
|
|
|
CFLAGS_iwl-devtrace.o := -I$(src)
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|