bcm53xx: include wpad-mini only on devices with (supported) wireless

Don't include wpad-mini when it's useless just like we don't include
useless wireless drivers.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
lede-17.01
Rafał Miłecki 2017-05-22 12:50:53 +02:00
parent 6c03b293bb
commit f197a2a4c9
2 changed files with 15 additions and 13 deletions

View File

@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/target.mk
KERNELNAME:=zImage dtbs KERNELNAME:=zImage dtbs
DEFAULT_PACKAGES += swconfig wpad-mini nvram \ DEFAULT_PACKAGES += swconfig nvram \
osafeloader oseama otrx \ osafeloader oseama otrx \
kmod-gpio-button-hotplug \ kmod-gpio-button-hotplug \
kmod-leds-gpio kmod-ledtrig-default-on kmod-ledtrig-timer kmod-leds-gpio kmod-ledtrig-default-on kmod-ledtrig-timer

View File

@ -86,9 +86,11 @@ endef
DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD
BRCMFMAC_43602A1 := kmod-brcmfmac brcmfmac-firmware-43602a1-pcie IEEE8021X := wpad-mini
BRCMFMAC_4366B1 := kmod-brcmfmac brcmfmac-firmware-4366b1-pcie B43 := $(IEEE8021X) kmod-b43
BRCMFMAC_4366C0 := kmod-brcmfmac BRCMFMAC_43602A1 := $(IEEE8021X) kmod-brcmfmac brcmfmac-firmware-43602a1-pcie
BRCMFMAC_4366B1 := $(IEEE8021X) kmod-brcmfmac brcmfmac-firmware-4366b1-pcie
BRCMFMAC_4366C0 := $(IEEE8021X) kmod-brcmfmac
USB2_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-phy-bcm-ns-usb2 USB2_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-phy-bcm-ns-usb2
USB2_PACKAGES += kmod-usb-ledtrig-usbport USB2_PACKAGES += kmod-usb-ledtrig-usbport
USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3 USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3
@ -115,7 +117,7 @@ endef
define Device/asus-rt-ac56u define Device/asus-rt-ac56u
DEVICE_TITLE := Asus RT-AC56U DEVICE_TITLE := Asus RT-AC56U
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef endef
TARGET_DEVICES += asus-rt-ac56u TARGET_DEVICES += asus-rt-ac56u
@ -145,19 +147,19 @@ TARGET_DEVICES += buffalo-wxr-1900dhp
define Device/buffalo-wzr-600dhp2 define Device/buffalo-wzr-600dhp2
DEVICE_TITLE := Buffalo WZR-600DHP2 DEVICE_TITLE := Buffalo WZR-600DHP2
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
endef endef
TARGET_DEVICES += buffalo-wzr-600dhp2 TARGET_DEVICES += buffalo-wzr-600dhp2
define Device/buffalo-wzr-900dhp define Device/buffalo-wzr-900dhp
DEVICE_TITLE := Buffalo WZR-900DHP DEVICE_TITLE := Buffalo WZR-900DHP
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef endef
TARGET_DEVICES += buffalo-wzr-900dhp TARGET_DEVICES += buffalo-wzr-900dhp
define Device/buffalo-wzr-1750dhp define Device/buffalo-wzr-1750dhp
DEVICE_TITLE := Buffalo WZR-1750DHP DEVICE_TITLE := Buffalo WZR-1750DHP
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef endef
TARGET_DEVICES += buffalo-wzr-1750dhp TARGET_DEVICES += buffalo-wzr-1750dhp
@ -178,7 +180,7 @@ TARGET_DEVICES += dlink-dir-885l
define Device/linksys-ea6300-v1 define Device/linksys-ea6300-v1
DEVICE_TITLE := Linksys EA6300 V1 DEVICE_TITLE := Linksys EA6300 V1
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef endef
# TARGET_DEVICES += linksys-ea6300-v1 # TARGET_DEVICES += linksys-ea6300-v1
@ -203,7 +205,7 @@ endef
define Device/netgear-r6250 define Device/netgear-r6250
DEVICE_TITLE := Netgear R6250 DEVICE_TITLE := Netgear R6250
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
$(Device/netgear) $(Device/netgear)
NETGEAR_BOARD_ID := U12H245T00_NETGEAR NETGEAR_BOARD_ID := U12H245T00_NETGEAR
endef endef
@ -211,7 +213,7 @@ TARGET_DEVICES += netgear-r6250
define Device/netgear-r6300-v2 define Device/netgear-r6300-v2
DEVICE_TITLE := Netgear R6300 V2 DEVICE_TITLE := Netgear R6300 V2
DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
$(Device/netgear) $(Device/netgear)
NETGEAR_BOARD_ID := U12H240T00_NETGEAR NETGEAR_BOARD_ID := U12H240T00_NETGEAR
endef endef
@ -259,7 +261,7 @@ TARGET_DEVICES += smartrg-sr400ac
define Device/tenda-ac9 define Device/tenda-ac9
DEVICE_TITLE := Tenda AC9 DEVICE_TITLE := Tenda AC9
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
IMAGES := trx IMAGES := trx
IMAGE/trx := append-rootfs | trx-serial IMAGE/trx := append-rootfs | trx-serial
endef endef
@ -267,7 +269,7 @@ TARGET_DEVICES += tenda-ac9
define Device/tplink-archer-c5-v2 define Device/tplink-archer-c5-v2
DEVICE_TITLE := TP-LINK Archer C5 V2 DEVICE_TITLE := TP-LINK Archer C5 V2
DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES) DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
IMAGES := bin IMAGES := bin
IMAGE/bin := append-rootfs | bcm53xx-tplink-safeloader IMAGE/bin := append-rootfs | bcm53xx-tplink-safeloader
TPLINK_BOARD := ARCHER-C5-V2 TPLINK_BOARD := ARCHER-C5-V2