Hi,

when working on the kernel 4.14 target removal, I found the following block in 
package/kernel/mac80211/ath.mk:

config-$(call config_package,ath5k) += ATH5K
ifdef CONFIG_TARGET_ath25
  config-y += ATH5K_AHB
else
  config-y += ATH5K_PCI
endif

https://github.com/openwrt/openwrt/blob/master/package/kernel/mac80211/ath.mk#L59

This looks to me like ATH5K_PCI is _always_ added (unless target is ath25). Is 
there some reason for this or should this be changed to

config-$(call config_package,ath5k) += ATH5K
ifdef CONFIG_TARGET_ath25
  config-$(call config_package,ath5k) += ATH5K_AHB
else
  config-$(call config_package,ath5k) += ATH5K_PCI
endif

?

With ath25 removed this would then collapse into

config-$(call config_package,ath5k) += ATH5K ATH5K_PCI

which looks correct to me.

Best

Adrian

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to