Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
94
package/firmware/prism54-firmware/Makefile
Normal file
94
package/firmware/prism54-firmware/Makefile
Normal file
@@ -0,0 +1,94 @@
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=prism54-firmware
|
||||
PKG_RELEASE:=1
|
||||
|
||||
DL_SUBDIR:=$(PKG_NAME)-$(PKG_RELEASE)
|
||||
|
||||
# P54 SoftMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
|
||||
PRG_URL:=https://daemonizer.de/prism54/prism54-fw/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
# P54 firmwares
|
||||
P54USBFW:=2.13.24.0.lm87.arm
|
||||
P54PCIFW:=2.13.12.0.arm
|
||||
P54SPIFW:=2.13.0.0.a.13.14.arm
|
||||
|
||||
define Download/p54-usb-firmware
|
||||
FILE:=$(P54USBFW)
|
||||
URL:=$(PRG_URL)/fw-usb
|
||||
HASH:=b59793e00a042b2bd5e883a15847778db90f49a9a4bdd1368a6b4021e6c93979
|
||||
endef
|
||||
$(eval $(call Download,p54-usb-firmware))
|
||||
|
||||
define Download/p54-pci-firmware
|
||||
FILE:=$(P54PCIFW)
|
||||
URL:=$(PRG_URL)/fw-softmac
|
||||
HASH:=3e62fe0c55fe4138dd10ef8fe8b4841908609d2cb2386ef71d3d0508b627170b
|
||||
endef
|
||||
$(eval $(call Download,p54-pci-firmware))
|
||||
|
||||
define Download/p54-spi-firmware
|
||||
FILE:=$(P54SPIFW)
|
||||
URL:=$(PRG_URL)/stlc4560
|
||||
HASH:=7fffaceb008b9beb5a1da4744c9a6d31c8d9eff54e3461cba925785f2ae1648d
|
||||
endef
|
||||
$(eval $(call Download,p54-spi-firmware))
|
||||
|
||||
|
||||
define Package/prism54-firmware-default
|
||||
SECTION:=firmware
|
||||
CATEGORY:=Firmware
|
||||
URL:=https://daemonizer.de/prism54/prism54-fw
|
||||
endef
|
||||
|
||||
define Package/p54-usb-firmware
|
||||
$(Package/prism54-firmware-default)
|
||||
TITLE:=p54-usb firmware
|
||||
endef
|
||||
|
||||
define Package/p54-pci-firmware
|
||||
$(Package/prism54-firmware-default)
|
||||
TITLE:=p54-pci firmware
|
||||
endef
|
||||
|
||||
define Package/p54-spi-firmware
|
||||
$(Package/prism54-firmware-default)
|
||||
TITLE:=p54-spi firmware
|
||||
endef
|
||||
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
||||
endef
|
||||
|
||||
define Package/p54-usb-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware
|
||||
$(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
|
||||
endef
|
||||
|
||||
define Package/p54-pci-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware
|
||||
$(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
|
||||
endef
|
||||
|
||||
define Package/p54-spi-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware
|
||||
$(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,p54-usb-firmware))
|
||||
$(eval $(call BuildPackage,p54-pci-firmware))
|
||||
$(eval $(call BuildPackage,p54-spi-firmware))
|
||||
Reference in New Issue
Block a user