2 # Copyright (C) 2009-2013 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
9 include $(INCLUDE_DIR
)/image.mk
11 KERNEL_LOADADDR
:=0x8000
13 define Device
/dsa-migration
14 DEVICE_COMPAT_VERSION
:= 1.1
15 DEVICE_COMPAT_MESSAGE
:= Config cannot be migrated from swconfig to DSA
20 DEVICE_DTS
= kirkwood-
$(lastword
$(subst _
, ,$(1)))
21 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
22 KERNEL
:= kernel-bin | append-dtb | uImage none
24 KERNEL_SUFFIX
:= -uImage
30 IMAGES
:= sysupgrade.bin factory.bin
31 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
32 IMAGE
/factory.bin
:= append-ubi
33 SUPPORTED_DEVICES
= $(subst _
,$(comma
),$(1))
36 define Device
/checkpoint_l-50
37 DEVICE_VENDOR
:= Check Point
39 DEVICE_PACKAGES
:= kmod-ath9k kmod-gpio-button-hotplug kmod-mvsdio \
40 kmod-rtc-s35390a kmod-usb-ledtrig-usbport wpad-basic-wolfssl
41 IMAGES
:= sysupgrade.bin
43 TARGET_DEVICES
+= checkpoint_l-50
45 define Device
/cisco_on100
46 DEVICE_VENDOR
:= Cisco Systems
51 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
52 DEVICE_PACKAGES
:= kmod-mvsdio
53 SUPPORTED_DEVICES
+= on100
55 TARGET_DEVICES
+= cisco_on100
57 define Device
/cloudengines_pogoe02
58 DEVICE_VENDOR
:= Cloud Engines
59 DEVICE_MODEL
:= Pogoplug E02
60 DEVICE_DTS
:= kirkwood-pogo_e02
61 SUPPORTED_DEVICES
+= pogo_e02
63 TARGET_DEVICES
+= cloudengines_pogoe02
65 define Device
/cloudengines_pogoplugv4
66 DEVICE_VENDOR
:= Cloud Engines
67 DEVICE_MODEL
:= Pogoplug V4
68 DEVICE_DTS
:= kirkwood-pogoplug-series-4
69 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-mvsdio kmod-usb3 \
70 kmod-gpio-button-hotplug
72 TARGET_DEVICES
+= cloudengines_pogoplugv4
74 define Device
/iom_iconnect-1.1
75 DEVICE_VENDOR
:= Iomega
76 DEVICE_MODEL
:= Iconnect
77 DEVICE_DTS
:= kirkwood-iconnect
78 SUPPORTED_DEVICES
+= iconnect
80 TARGET_DEVICES
+= iom_iconnect-1.1
82 define Device
/iom_ix2-200
83 DEVICE_VENDOR
:= Iomega
84 DEVICE_MODEL
:= StorCenter ix2-200
85 DEVICE_DTS
:= kirkwood-iomega_ix2_200
86 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
87 kmod-gpio-button-hotplug kmod-hwmon-lm63
95 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
98 TARGET_DEVICES
+= iom_ix2-200
100 define Device
/linksys
101 DEVICE_VENDOR
:= Linksys
102 DEVICE_PACKAGES
:= kmod-mwl8k wpad-basic-wolfssl kmod-gpio-button-hotplug
105 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
108 define Device
/linksys_e4200-v2
110 $(Device
/dsa-migration
)
111 DEVICE_MODEL
:= E4200
114 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
116 TARGET_DEVICES
+= linksys_e4200-v2
118 define Device
/linksys_ea3500
120 $(Device
/dsa-migration
)
121 DEVICE_MODEL
:= EA3500
126 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
128 TARGET_DEVICES
+= linksys_ea3500
130 define Device
/linksys_ea4500
132 $(Device
/dsa-migration
)
133 DEVICE_MODEL
:= EA4500
135 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
137 TARGET_DEVICES
+= linksys_ea4500
139 define Device
/raidsonic_ib-nas62x0
140 DEVICE_VENDOR
:= RaidSonic
141 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
142 DEVICE_DTS
:= kirkwood-ib62x0
143 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
144 SUPPORTED_DEVICES
+= ib62x0
146 TARGET_DEVICES
+= raidsonic_ib-nas62x0
148 define Device
/seagate_blackarmor-nas220
149 DEVICE_VENDOR
:= Seagate
150 DEVICE_MODEL
:= Blackarmor NAS220
151 DEVICE_PACKAGES
:= kmod-hwmon-adt7475 kmod-fs-ext4 kmod-ata-marvell-sata \
152 mdadm kmod-gpio-button-hotplug
158 TARGET_DEVICES
+= seagate_blackarmor-nas220
160 define Device
/seagate_dockstar
161 DEVICE_VENDOR
:= Seagate
162 DEVICE_MODEL
:= FreeAgent Dockstar
163 SUPPORTED_DEVICES
+= dockstar
165 TARGET_DEVICES
+= seagate_dockstar
167 define Device
/seagate_goflexnet
168 DEVICE_VENDOR
:= Seagate
169 DEVICE_MODEL
:= GoFlexNet
170 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
171 SUPPORTED_DEVICES
+= goflexnet
173 TARGET_DEVICES
+= seagate_goflexnet
175 define Device
/seagate_goflexhome
176 DEVICE_VENDOR
:= Seagate
177 DEVICE_MODEL
:= GoFlexHome
178 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
179 SUPPORTED_DEVICES
+= goflexhome
181 TARGET_DEVICES
+= seagate_goflexhome
183 define Device
/zyxel_nsa310b
184 DEVICE_VENDOR
:= ZyXEL
185 DEVICE_MODEL
:= NSA310b
186 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
187 kmod-gpio-button-hotplug kmod-hwmon-lm85
188 SUPPORTED_DEVICES
+= nsa310b
190 TARGET_DEVICES
+= zyxel_nsa310b
192 define Device
/zyxel_nsa310s
193 DEVICE_VENDOR
:= ZyXEL
194 DEVICE_MODEL
:= NSA310S
195 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
197 TARGET_DEVICES
+= zyxel_nsa310s
199 define Device
/zyxel_nsa325
200 DEVICE_VENDOR
:= ZyXEL
201 DEVICE_MODEL
:= NSA325
202 DEVICE_VARIANT
:= v1
/v2
203 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
204 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
205 SUPPORTED_DEVICES
+= nsa325
207 TARGET_DEVICES
+= zyxel_nsa325
209 $(eval
$(call BuildImage
))