OpenWrt – Blame information for rev 2

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5  
6 include $(TOPDIR)/rules.mk
7  
8 PKG_NAME:=prism54-firmware
9 PKG_RELEASE:=1
10  
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/
13  
14 include $(INCLUDE_DIR)/package.mk
15  
16  
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
22  
23 define Download/prism54-firmware
24 FILE:=$(PRISM54FW)
25 URL:=$(PRG_URL)/fw-fullmac
26 HASH:=dce24156c57234dba131429fbe8cd1de8ba818c9481ddc33cf7e5af9d57a737c
27 endef
28 $(eval $(call Download,prism54-firmware))
29  
30 define Download/p54-usb-firmware
31 FILE:=$(P54USBFW)
32 URL:=$(PRG_URL)/fw-usb
33 HASH:=b59793e00a042b2bd5e883a15847778db90f49a9a4bdd1368a6b4021e6c93979
34 endef
35 $(eval $(call Download,p54-usb-firmware))
36  
37 define Download/p54-pci-firmware
38 FILE:=$(P54PCIFW)
39 URL:=$(PRG_URL)/fw-softmac
40 HASH:=3e62fe0c55fe4138dd10ef8fe8b4841908609d2cb2386ef71d3d0508b627170b
41 endef
42 $(eval $(call Download,p54-pci-firmware))
43  
44 define Download/p54-spi-firmware
45 FILE:=$(P54SPIFW)
46 URL:=$(PRG_URL)/stlc4560
47 HASH:=7fffaceb008b9beb5a1da4744c9a6d31c8d9eff54e3461cba925785f2ae1648d
48 endef
49 $(eval $(call Download,p54-spi-firmware))
50  
51  
52 define Package/prism54-firmware-default
53 SECTION:=firmware
54 CATEGORY:=Firmware
55 URL:=https://daemonizer.de/prism54/prism54-fw
56 endef
57  
58 define Package/prism54-firmware
59 $(Package/prism54-firmware-default)
60 TITLE:=prism54 firmware
61 endef
62  
63 define Package/p54-usb-firmware
64 $(Package/prism54-firmware-default)
65 TITLE:=p54-usb firmware
66 endef
67  
68 define Package/p54-pci-firmware
69 $(Package/prism54-firmware-default)
70 TITLE:=p54-pci firmware
71 endef
72  
73 define Package/p54-spi-firmware
74 $(Package/prism54-firmware-default)
75 TITLE:=p54-spi firmware
76 endef
77  
78  
79 define Build/Prepare
80 mkdir -p $(PKG_BUILD_DIR)
81 endef
82  
83 define Build/Compile
84  
85 endef
86  
87 define Package/prism54-firmware/install
88 $(INSTALL_DIR) $(1)/lib/firmware
89 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54FW) $(1)/lib/firmware/isl3890
90 endef
91  
92 define Package/p54-usb-firmware/install
93 $(INSTALL_DIR) $(1)/lib/firmware
94 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
95 endef
96  
97 define Package/p54-pci-firmware/install
98 $(INSTALL_DIR) $(1)/lib/firmware
99 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
100 endef
101  
102 define Package/p54-spi-firmware/install
103 $(INSTALL_DIR) $(1)/lib/firmware
104 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
105 endef
106  
107  
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))