2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=vsc73x5-ucode
13 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
15 PKG_SOURCE
:=vsc73x5-ucode.
tar.bz2
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/vsc73x5-ucode
18 PKG_MD5SUM
:=b32e3debcd118f263c79199a7b5afa68
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/vsc73x5-defaults
27 DEPENDS
:=@TARGET_ar71xx
32 define Package
/vsc73x5
/install
33 $(INSTALL_DIR
) $(1)/lib
/firmware
34 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(2) $(1)/lib
/firmware
/$(3)
37 define Package
/vsc7385-ucode-ap83
38 $(call Package
/vsc73x5-defaults
,Vitesse VSC7385 microcode for the Atheros AP83 boards
)
41 define Package
/vsc7385-ucode-ap83
/description
42 This package contains the Atheros AP83 board specific microcode for
43 the Vitesse VSC7385 ethernet switch.
46 define Package
/vsc7385-ucode-ap83
/install
47 $(call Package
/vsc73x5
/install,$(1),g5_Plus1_2_31_unmanaged_Atheros_v3.bin
,vsc7385_ucode_ap83.bin
)
50 define Package
/vsc7395-ucode-ap83
51 $(call Package
/vsc73x5-defaults
, Vitesse VSC7395 microcode for the Atheros AP83 boards
)
54 define Package
/vsc7395-ucode-ap83
/description
55 This package contains the Atheros AP83 board specific microcode for
56 the Vitesse VSC7395 ethernet switch.
59 define Package
/vsc7395-ucode-ap83
/install
60 $(call Package
/vsc73x5
/install,$(1),g5_Plus1_2_31_unmanaged_Atheros_v4.bin
,vsc7395_ucode_ap83.bin
)
63 define Package
/vsc7385-ucode-pb44
64 $(call Package
/vsc73x5-defaults
, Vitesse VSC7395 microcode for the Atheros PB44 boards
)
67 define Package
/vsc7385-ucode-pb44
/description
68 This package contains the Atheros PB44 board specific microcode for
69 the Vitesse VSC7385 ethernet switch.
72 define Package
/vsc7385-ucode-pb44
/install
73 $(call Package
/vsc73x5
/install,$(1),g5_Plus1_2_29b_unmanaged_Atheros_v5.bin
,vsc7385_ucode_pb44.bin
)
76 define Package
/vsc7395-ucode-pb44
77 $(call Package
/vsc73x5-defaults
, Vitesse VSC7395 microcode for the Atheros PB44 boards
)
80 define Package
/vsc7395-ucode-pb44
/description
81 This package contains the Atheros AP83 board specific microcode for
82 the Vitesse VSC7395 ethernet switch.
85 define Package
/vsc7395-ucode-pb44
/install
86 $(call Package
/vsc73x5
/install,$(1),g5e_Plus1_2_29a_unmanaged_Atheros_v3.bin
,vsc7395_ucode_pb44.bin
)
93 $(eval
$(call BuildPackage
,vsc7385-ucode-ap83
))
94 $(eval
$(call BuildPackage
,vsc7395-ucode-ap83
))
95 $(eval
$(call BuildPackage
,vsc7385-ucode-pb44
))
96 $(eval
$(call BuildPackage
,vsc7395-ucode-pb44
))