mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:05:20 +07:00
c43e93300a
If there's no LED on the system, it doesn't make a lot of sense to include close to 4k of LED-related code (mostly in mac80211), so instead of forcing LED support into the kernel, don't build iwlwifi/mac80211 LED support if there's no LED class support. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: EliadX Peller <eliad@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
14 lines
350 B
Makefile
14 lines
350 B
Makefile
# DVM
|
|
obj-$(CONFIG_IWLDVM) += iwldvm.o
|
|
iwldvm-objs += main.o rs.o mac80211.o ucode.o tx.o
|
|
iwldvm-objs += lib.o calib.o tt.o sta.o rx.o
|
|
|
|
iwldvm-objs += power.o
|
|
iwldvm-objs += scan.o
|
|
iwldvm-objs += rxon.o devices.o
|
|
|
|
iwldvm-$(CONFIG_IWLWIFI_LEDS) += led.o
|
|
iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../
|