OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7  
8 include $(TOPDIR)/rules.mk
9  
10 PKG_NAME:=vsc73x5-ucode
11 PKG_RELEASE:=1
12  
13 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
14  
15 PKG_SOURCE:=vsc73x5-ucode.tar.bz2
16 PKG_BUILD_DIR:=$(BUILD_DIR)/vsc73x5-ucode
17  
18 PKG_HASH:=9728cec2b5d49ddd52578a8c600f1fd9f878a34e7e00ed51c248e0d608dd763a
19  
20 PKG_FLAGS:=nonshared
21  
22 include $(INCLUDE_DIR)/package.mk
23  
24 define Package/vsc73x5-defaults
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=@TARGET_ar71xx
28 DEFAULT:=n
29 TITLE:=$(1)
30 endef
31  
32 define Package/vsc73x5/install
33 $(INSTALL_DIR) $(1)/lib/firmware
34 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(2) $(1)/lib/firmware/$(3)
35 endef
36  
37 define Package/vsc7385-ucode-pb44
38 $(call Package/vsc73x5-defaults, Vitesse VSC7395 microcode for the Atheros PB44 boards)
39 endef
40  
41 define Package/vsc7385-ucode-pb44/description
42 This package contains the Atheros PB44 board specific microcode for
43 the Vitesse VSC7385 ethernet switch.
44 endef
45  
46 define Package/vsc7385-ucode-pb44/install
47 $(call Package/vsc73x5/install,$(1),g5_Plus1_2_29b_unmanaged_Atheros_v5.bin,vsc7385_ucode_pb44.bin)
48 endef
49  
50 define Package/vsc7395-ucode-pb44
51 $(call Package/vsc73x5-defaults, Vitesse VSC7395 microcode for the Atheros PB44 boards)
52 endef
53  
54 define Package/vsc7395-ucode-pb44/description
55 This package contains the Atheros PB44 board specific microcode for
56 the Vitesse VSC7395 ethernet switch.
57 endef
58  
59 define Package/vsc7395-ucode-pb44/install
60 $(call Package/vsc73x5/install,$(1),g5e_Plus1_2_29a_unmanaged_Atheros_v3.bin,vsc7395_ucode_pb44.bin)
61 endef
62  
63 define Build/Compile
64  
65 endef
66  
67 $(eval $(call BuildPackage,vsc7385-ucode-pb44))
68 $(eval $(call BuildPackage,vsc7395-ucode-pb44))