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 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
12 PRG_URL
:=https
://daemonizer.de
/prism54
/prism54-fw
/
14 include $(INCLUDE_DIR
)/package.mk
17 # PRISM54/P54 firmwares
18 PRISM54FW
:=1.0.4.3.arm
19 P54USBFW
:=2.13.24.0.lm87.arm
20 P54PCIFW
:=2.13.12.0.arm
21 P54SPIFW
:=2.13.0.0.a
.13.14.arm
23 define Download
/prism54-firmware
25 URL
:=$(PRG_URL
)/fw-fullmac
26 HASH
:=dce24156c57234dba131429fbe8cd1de8ba818c9481ddc33cf7e5af9d57a737c
28 $(eval
$(call Download
,prism54-firmware
))
30 define Download
/p54-usb-firmware
32 URL
:=$(PRG_URL
)/fw-usb
33 HASH
:=b59793e00a042b2bd5e883a15847778db90f49a9a4bdd1368a6b4021e6c93979
35 $(eval
$(call Download
,p54-usb-firmware
))
37 define Download
/p54-pci-firmware
39 URL
:=$(PRG_URL
)/fw-softmac
40 HASH
:=3e62fe0c55fe4138dd10ef8fe8b4841908609d2cb2386ef71d3d0508b627170b
42 $(eval
$(call Download
,p54-pci-firmware
))
44 define Download
/p54-spi-firmware
46 URL
:=$(PRG_URL
)/stlc4560
47 HASH
:=7fffaceb008b9beb5a1da4744c9a6d31c8d9eff54e3461cba925785f2ae1648d
49 $(eval
$(call Download
,p54-spi-firmware
))
52 define Package
/prism54-firmware-default
55 URL
:=https
://daemonizer.de
/prism54
/prism54-fw
58 define Package
/prism54-firmware
59 $(Package
/prism54-firmware-default
)
60 TITLE
:=prism54 firmware
63 define Package
/p54-usb-firmware
64 $(Package
/prism54-firmware-default
)
65 TITLE
:=p54-usb firmware
68 define Package
/p54-pci-firmware
69 $(Package
/prism54-firmware-default
)
70 TITLE
:=p54-pci firmware
73 define Package
/p54-spi-firmware
74 $(Package
/prism54-firmware-default
)
75 TITLE
:=p54-spi firmware
80 mkdir
-p
$(PKG_BUILD_DIR
)
87 define Package
/prism54-firmware
/install
88 $(INSTALL_DIR
) $(1)/lib
/firmware
89 $(INSTALL_DATA
) $(DL_DIR
)/$(PRISM54FW
) $(1)/lib
/firmware
/isl3890
92 define Package
/p54-usb-firmware
/install
93 $(INSTALL_DIR
) $(1)/lib
/firmware
94 $(INSTALL_DATA
) $(DL_DIR
)/$(P54USBFW
) $(1)/lib
/firmware
/isl3887usb
97 define Package
/p54-pci-firmware
/install
98 $(INSTALL_DIR
) $(1)/lib
/firmware
99 $(INSTALL_DATA
) $(DL_DIR
)/$(P54PCIFW
) $(1)/lib
/firmware
/isl3886pci
102 define Package
/p54-spi-firmware
/install
103 $(INSTALL_DIR
) $(1)/lib
/firmware
104 $(INSTALL_DATA
) $(DL_DIR
)/$(P54SPIFW
) $(1)/lib
/firmware
/3826.arm
108 $(eval
$(call BuildPackage
,prism54-firmware
))
109 $(eval
$(call BuildPackage
,p54-usb-firmware
))
110 $(eval
$(call BuildPackage
,p54-pci-firmware
))
111 $(eval
$(call BuildPackage
,p54-spi-firmware
))