diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-09-13 11:03:02 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-09-13 11:03:43 +0200 |
commit | 2c38b6e076641d79aeecd5fd238c9444b26814ef (patch) | |
tree | 9a3ab8f0f11fbd780021b29d5f088360bb588954 /target/linux/bcm53xx | |
parent | ac887f48324a40dd71e7443bddec5d6a59e256b4 (diff) | |
download | mtk-20170518-2c38b6e076641d79aeecd5fd238c9444b26814ef.zip mtk-20170518-2c38b6e076641d79aeecd5fd238c9444b26814ef.tar.gz mtk-20170518-2c38b6e076641d79aeecd5fd238c9444b26814ef.tar.bz2 |
bcm53xx: specify brcmfmac firmware for every device
This will allow us to include required firmwares only and save some
rootfs space.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx')
-rw-r--r-- | target/linux/bcm53xx/image/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index e2665ac..e37c85d 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -70,6 +70,8 @@ endef DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION +BRCMFMAC_43602A1 := kmod-brcmfmac brcmfmac-firmware-43602a1-pcie +BRCMFMAC_4366B1 := kmod-brcmfmac brcmfmac-firmware-4366b1-pcie USB2_PACKAGES := kmod-usb-ohci kmod-usb2 USB3_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 @@ -148,7 +150,7 @@ endef define Device/dlink-dir-885l DEVICE_TITLE := D-Link DIR-885L - DEVICE_PACKAGES := kmod-brcmfmac $(USB3_PACKAGES) + DEVICE_PACKAGES := $(BRCMFMAC_4366B1) $(USB3_PACKAGES) $(Device/dlink) SIGNATURE := wrgac42_dlink.2015_dir885l endef @@ -190,7 +192,7 @@ TARGET_DEVICES += netgear-r7000 define Device/netgear-r7900 DEVICE_TITLE := Netgear R7900 - DEVICE_PACKAGES := kmod-brcmfmac $(USB3_PACKAGES) + DEVICE_PACKAGES := $(BRCMFMAC_43602A1) $(USB3_PACKAGES) $(Device/netgear) NETGEAR_BOARD_ID := U12H315T30_NETGEAR endef @@ -198,14 +200,14 @@ TARGET_DEVICES += netgear-r7900 define Device/netgear-r8000 DEVICE_TITLE := Netgear R8000 - DEVICE_PACKAGES := kmod-brcmfmac $(USB3_PACKAGES) + DEVICE_PACKAGES := $(BRCMFMAC_43602A1) $(USB3_PACKAGES) $(Device/netgear) NETGEAR_BOARD_ID := U12H315T00_NETGEAR endef define Device/netgear-r8500 DEVICE_TITLE := Netgear R8500 - DEVICE_PACKAGES := kmod-brcmfmac $(USB3_PACKAGES) + DEVICE_PACKAGES := $(BRCMFMAC_4366B1) $(USB3_PACKAGES) $(Device/netgear) NETGEAR_BOARD_ID := U12H334T00_NETGEAR endef @@ -213,7 +215,7 @@ endef define Device/smartrg-sr400ac DEVICE_TITLE := SmartRG SR400ac - DEVICE_PACKAGES := kmod-brcmfmac $(USB3_PACKAGES) + DEVICE_PACKAGES := $(BRCMFMAC_43602A1) $(USB3_PACKAGES) IMAGES := trx IMAGE/trx := append-rootfs | trx-serial endef |