summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/generic/profiles/d-link.mk
blob: 8fcc77f0f100c9719d0a072b15f040e598084139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define Profile/DIR600A1
	NAME:=D-Link DIR-600 rev. A1
	PACKAGES:=
endef

define Profile/DIR600A1/Description
	Package set optimized for the D-Link DIR-600 rev. A1.
endef

$(eval $(call Profile,DIR600A1))

define Profile/DIR601A1
	NAME:=D-Link DIR-601 rev. A1
	PACKAGES:=
endef

define Profile/DIR601A1/Description
	Package set optimized for the D-Link DIR-601 rev. A1.
endef

$(eval $(call Profile,DIR601A1))

define Profile/DIR615C1
	NAME:=D-Link DIR-615 rev. C1
	PACKAGES:=
endef

define Profile/DIR615C1/Description
	Package set optimized for the D-Link DIR-615 rev. C1.
endef

$(eval $(call Profile,DIR615C1))


define Profile/DIR615E4
	NAME:=D-Link DIR-615 rev. E4
	PACKAGES:=
endef

define Profile/DIR615E4/Description
	Package set optimized for the D-Link DIR-615 rev. E4.
endef

$(eval $(call Profile,DIR615E4))

define Profile/DIR825B1_ALL
	NAME:=D-Link DIR-825 rev. B1 - all flavours
	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
endef

define Profile/DIR825B1_ALL/Description
    Build all D-Link DIR-825 rev. B1 images
endef

$(eval $(call Profile,DIR825B1_ALL))

define Profile/DIR825B1
	NAME:=D-Link DIR-825 rev. B1
	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
endef

define Profile/DIR825B1/Description
	Package set optimized for the D-Link DIR-825 rev. B1.
	WARNING: Flashing wholeflash (openwrt optimized) image may brick your router
	.  This will occur if your openwrt optimized image is larger than the
	maximum size for a regular dir-825 b1 image (a little more than 6MB).
	Please flash a TOWHOLEFLASH image instead of this image before flashing
a 
	WHOLEFLASH image.
endef

$(eval $(call Profile,DIR825B1))

define Profile/DIR825B1_TOWHOLEFLASH
	NAME:=D-Link DIR-825 rev. B1 designed for transition to image using whole flash
	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
endef

define Profile/DIR825B1_TOWHOLEFLASH/Description
	Package set optimized for the D-Link DIR-825 rev. B1. design for transtion to
	image using whole flash.
	Copies the calibration data to the last erase block so that, if desired,
	an image optimized for use with OpenWrt (access to full flash) can be flashed.
endef

$(eval $(call Profile,DIR825B1_TOWHOLEFLASH))

define Profile/DIR825B1_WHOLEFLASH
	NAME:=D-Link DIR-825 rev. B1 optimized for OpenWrt which uses full 8M flash
	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
endef

define Profile/DIR825B1_WHOLEFLASH/Description
	Package set optimized for the D-Link DIR-825 rev. B1. using wholeflash
	Can only be flashed from OpenWrt because it requires that the calibration data
	be on the last sector of the flash (which the 'standard' version that can be flashed from
	stock will ensure).	
endef

$(eval $(call Profile,DIR825B1_WHOLEFLASH))

define Profile/DIR825B1_TOSTOCK
	NAME:=D-Link DIR-825 rev. B1 that undoes OpenWrt optimization (i.e. wholeflash)
	PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
endef

define Profile/DIR825B1_TOSTOCK/Description
	Package set optimized for the D-Link DIR-825 rev. B1. that undoes OpenWrt optimization
	Copies the calibration data from the last erase block to the erase block normally used
	by the stock firmware for said data.
endef

$(eval $(call Profile,DIR825B1_TOSTOCK))