mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add a new package for brcmfmac43455 firmware, needed for RPI 3B+ wifi
This commit is contained in:
parent
9571b1ee2c
commit
698eeb1991
3 changed files with 38 additions and 84 deletions
28
root/package/firmware/firmware-nonfree/Makefile
Normal file
28
root/package/firmware/firmware-nonfree/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=firmware-nonfree
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/RPi-Distro/firmware-nonfree.git
|
||||
PKG_SOURCE_DATE:=2018-05-27
|
||||
PKG_SOURCE_VERSION:=86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
|
||||
PKG_MIRROR_HASH:=bef9efe173b87e7afc37bb856f9727c4ff64a1ee1cbe6640d22bae79601553bb
|
||||
|
||||
SCAN_DEPS = *.mk
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/firmware-default
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
URL:=https://github.com/RPi-Distro/firmware-nonfree.git
|
||||
TITLE:=$(1)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
||||
endef
|
||||
|
||||
include $(wildcard ./*.mk)
|
||||
#$(eval $(call BuildPackage,firmware-nonfree))
|
10
root/package/firmware/firmware-nonfree/broadcom.mk
Normal file
10
root/package/firmware/firmware-nonfree/broadcom.mk
Normal file
|
@ -0,0 +1,10 @@
|
|||
Package/brcmfmac-firmware-43455-sdio = $(call Package/firmware-default,Broadcom BCM43455 FullMac SDIO firmware)
|
||||
define Package/brcmfmac-firmware-43455-sdio/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.bin \
|
||||
$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.clm_blob \
|
||||
$(PKG_BUILD_DIR)/brcm/brcmfmac43455-sdio.txt \
|
||||
$(1)/lib/firmware/brcm/
|
||||
endef
|
||||
$(eval $(call BuildPackage,brcmfmac-firmware-43455-sdio))
|
Loading…
Add table
Add a link
Reference in a new issue