aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/image/Makefile
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-05-22 12:50:53 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-06-08 22:25:00 +0200
commitc00fbaf670494e7cd3dd05bff18cb6b407ac642d (patch)
tree7993d70ea57c1e46cffb5ca99060729039afa4a0 /target/linux/bcm53xx/image/Makefile
parent6426e4edef7baddf377ee63baf43fbe39f4f5e79 (diff)
downloadupstream-c00fbaf670494e7cd3dd05bff18cb6b407ac642d.tar.gz
upstream-c00fbaf670494e7cd3dd05bff18cb6b407ac642d.tar.bz2
upstream-c00fbaf670494e7cd3dd05bff18cb6b407ac642d.zip
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>
Diffstat (limited to 'target/linux/bcm53xx/image/Makefile')
-rw-r--r--target/linux/bcm53xx/image/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index d3be634525..0d20c16de4 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -107,9 +107,11 @@ endef
DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD
DEVICE_VARS += BUFFALO_TAG_PLATFORM BUFFALO_TAG_VERSION BUFFALO_TAG_MINOR
-BRCMFMAC_43602A1 := kmod-brcmfmac brcmfmac-firmware-43602a1-pcie
-BRCMFMAC_4366B1 := kmod-brcmfmac brcmfmac-firmware-4366b1-pcie
-BRCMFMAC_4366C0 := kmod-brcmfmac
+IEEE8021X := wpad-mini
+B43 := $(IEEE8021X) kmod-b43
+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-ledtrig-usbport
USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3
@@ -138,7 +140,7 @@ endef
define Device/asus-rt-ac56u
DEVICE_TITLE := Asus RT-AC56U
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef
TARGET_DEVICES += asus-rt-ac56u
@@ -180,14 +182,14 @@ TARGET_DEVICES += buffalo-wxr-1900dhp
define Device/buffalo-wzr-600dhp2
$(call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-600DHP2
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
endef
TARGET_DEVICES += buffalo-wzr-600dhp2
define Device/buffalo-wzr-900dhp
$(call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-900DHP
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
BUFFALO_TAG_PLATFORM := bcm
BUFFALO_TAG_VERSION := 9.99
BUFFALO_TAG_MINOR := 9.99
@@ -208,7 +210,7 @@ TARGET_DEVICES += buffalo-wzr-900dhp
define Device/buffalo-wzr-1750dhp
$(call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-1750DHP
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef
TARGET_DEVICES += buffalo-wzr-1750dhp
@@ -229,7 +231,7 @@ TARGET_DEVICES += dlink-dir-885l
define Device/linksys-ea6300-v1
DEVICE_TITLE := Linksys EA6300 V1
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
endef
# TARGET_DEVICES += linksys-ea6300-v1
@@ -254,7 +256,7 @@ endef
define Device/netgear-r6250
DEVICE_TITLE := Netgear R6250
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H245T00_NETGEAR
endef
@@ -262,7 +264,7 @@ TARGET_DEVICES += netgear-r6250
define Device/netgear-r6300-v2
DEVICE_TITLE := Netgear R6300 V2
- DEVICE_PACKAGES := kmod-b43 $(USB3_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES)
$(Device/netgear)
NETGEAR_BOARD_ID := U12H240T00_NETGEAR
endef
@@ -310,7 +312,7 @@ TARGET_DEVICES += smartrg-sr400ac
define Device/tenda-ac9
DEVICE_TITLE := Tenda AC9
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
IMAGES := trx
IMAGE/trx := append-rootfs | trx-serial
endef
@@ -318,7 +320,7 @@ TARGET_DEVICES += tenda-ac9
define Device/tplink-archer-c5-v2
DEVICE_TITLE := TP-LINK Archer C5 V2
- DEVICE_PACKAGES := kmod-b43 $(USB2_PACKAGES)
+ DEVICE_PACKAGES := $(B43) $(USB2_PACKAGES)
IMAGES := bin
IMAGE/bin := append-rootfs | bcm53xx-tplink-safeloader
TPLINK_BOARD := ARCHER-C5-V2