2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=prism54-firmware
11 DL_SUBDIR
:=$(PKG_NAME
)-$(PKG_RELEASE
)
13 # P54 SoftMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
14 PRG_URL
:=https
://daemonizer.de
/prism54
/prism54-fw
/
16 include $(INCLUDE_DIR
)/package.mk
20 P54USBFW
:=2.13.24.0.lm87.arm
21 P54PCIFW
:=2.13.12.0.arm
22 P54SPIFW
:=2.13.0.0.a
.13.14.arm
24 define Download
/p54-usb-firmware
26 URL
:=$(PRG_URL
)/fw-usb
27 HASH
:=b59793e00a042b2bd5e883a15847778db90f49a9a4bdd1368a6b4021e6c93979
29 $(eval
$(call Download
,p54-usb-firmware
))
31 define Download
/p54-pci-firmware
33 URL
:=$(PRG_URL
)/fw-softmac
34 HASH
:=3e62fe0c55fe4138dd10ef8fe8b4841908609d2cb2386ef71d3d0508b627170b
36 $(eval
$(call Download
,p54-pci-firmware
))
38 define Download
/p54-spi-firmware
40 URL
:=$(PRG_URL
)/stlc4560
41 HASH
:=7fffaceb008b9beb5a1da4744c9a6d31c8d9eff54e3461cba925785f2ae1648d
43 $(eval
$(call Download
,p54-spi-firmware
))
46 define Package
/prism54-firmware-default
49 URL
:=https
://daemonizer.de
/prism54
/prism54-fw
52 define Package
/p54-usb-firmware
53 $(Package
/prism54-firmware-default
)
54 TITLE
:=p54-usb firmware
57 define Package
/p54-pci-firmware
58 $(Package
/prism54-firmware-default
)
59 TITLE
:=p54-pci firmware
62 define Package
/p54-spi-firmware
63 $(Package
/prism54-firmware-default
)
64 TITLE
:=p54-spi firmware
69 mkdir
-p
$(PKG_BUILD_DIR
)
76 define Package
/p54-usb-firmware
/install
77 $(INSTALL_DIR
) $(1)/lib
/firmware
78 $(INSTALL_DATA
) $(DL_DIR
)/$(P54USBFW
) $(1)/lib
/firmware
/isl3887usb
81 define Package
/p54-pci-firmware
/install
82 $(INSTALL_DIR
) $(1)/lib
/firmware
83 $(INSTALL_DATA
) $(DL_DIR
)/$(P54PCIFW
) $(1)/lib
/firmware
/isl3886pci
86 define Package
/p54-spi-firmware
/install
87 $(INSTALL_DIR
) $(1)/lib
/firmware
88 $(INSTALL_DATA
) $(DL_DIR
)/$(P54SPIFW
) $(1)/lib
/firmware
/3826.arm
92 $(eval
$(call BuildPackage
,p54-usb-firmware
))
93 $(eval
$(call BuildPackage
,p54-pci-firmware
))
94 $(eval
$(call BuildPackage
,p54-spi-firmware
))