[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / generic / profiles / d-link.mk
1 #
2 # Copyright (C) 2009 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 define Profile/DIR600A1
9 NAME:=D-Link DIR-600 rev. A1
10 PACKAGES:=
11 endef
12
13 define Profile/DIR600A1/Description
14 Package set optimized for the D-Link DIR-600 rev. A1.
15 endef
16
17 $(eval $(call Profile,DIR600A1))
18
19 define Profile/DIR601A1
20 NAME:=D-Link DIR-601 rev. A1
21 PACKAGES:=
22 endef
23
24 define Profile/DIR601A1/Description
25 Package set optimized for the D-Link DIR-601 rev. A1.
26 endef
27
28 $(eval $(call Profile,DIR601A1))
29
30 define Profile/DIR615C1
31 NAME:=D-Link DIR-615 rev. C1
32 PACKAGES:=
33 endef
34
35 define Profile/DIR615C1/Description
36 Package set optimized for the D-Link DIR-615 rev. C1.
37 endef
38
39 $(eval $(call Profile,DIR615C1))
40
41
42 define Profile/DIR615E4
43 NAME:=D-Link DIR-615 rev. E4
44 PACKAGES:=
45 endef
46
47 define Profile/DIR615E4/Description
48 Package set optimized for the D-Link DIR-615 rev. E4.
49 endef
50
51 $(eval $(call Profile,DIR615E4))
52
53 define Profile/DIR825B1_ALL
54 NAME:=D-Link DIR-825 rev. B1 - all flavours
55 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
56 endef
57
58 define Profile/DIR825B1_ALL/Description
59 Build all D-Link DIR-825 rev. B1 images
60 endef
61
62 $(eval $(call Profile,DIR825B1_ALL))
63
64 define Profile/DIR825B1
65 NAME:=D-Link DIR-825 rev. B1
66 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
67 endef
68
69 define Profile/DIR825B1/Description
70 Package set optimized for the D-Link DIR-825 rev. B1.
71 Copies the calibration data to the last erase block so that, if desired,
72 an image optimized for use with OpenWrt (access to full flash) can be flashed.
73 endef
74
75 $(eval $(call Profile,DIR825B1))
76
77 define Profile/DIR825B1_OPENWRT
78 NAME:=D-Link DIR-825 rev. B1 optimized for OpenWrt
79 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
80 endef
81
82 define Profile/DIR825B1_OPENWRT/Description
83 Package set optimized for the D-Link DIR-825 rev. B1. running OpenWrt
84 Can only be flashed from OpenWrt because it requires that the calibration data
85 be on the last sector of the flash (which the 'standard' version that can be flashed from
86 stock will ensure).
87 endef
88
89 $(eval $(call Profile,DIR825B1_OPENWRT))
90
91 define Profile/DIR825B1_TOSTOCK
92 NAME:=D-Link DIR-825 rev. B1 that undoes OpenWrt optimization
93 PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
94 endef
95
96 define Profile/DIR825B1_TOSTOCK/Description
97 Package set optimized for the D-Link DIR-825 rev. B1. that undoes OpenWrt optimization
98 Copies the calibration data from the last erase block to the erase block normally used
99 by the stock firmware for said data.
100 endef
101
102 $(eval $(call Profile,DIR825B1_TOSTOCK))
103