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
15 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
16 KERNEL
:= kernel-bin | append-dtb | uImage none
18 KERNEL_SUFFIX
:= -uImage
24 IMAGES
:= sysupgrade.bin factory.bin
25 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
26 IMAGE
/factory.bin
:= append-ubi
27 SUPPORTED_DEVICES
:= $(subst _
,$(comma
),$(1))
30 define Device
/cisco_on100
31 DEVICE_VENDOR
:= Cisco Systems
33 DEVICE_DTS
:= kirkwood-on100
34 DEVICE_PACKAGES
:= kmod-i2c-mv64xxx
38 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
41 TARGET_DEVICES
+= cisco_on100
43 define Device
/cloudengines_pogoe02
44 DEVICE_VENDOR
:= Cloud Engines
45 DEVICE_MODEL
:= Pogoplug E02
46 DEVICE_DTS
:= kirkwood-pogo_e02
47 BOARD_NAME
:= pogo_e02
48 SUPPORTED_DEVICES
+= pogo_e02
50 TARGET_DEVICES
+= cloudengines_pogoe02
52 define Device
/cloudengines_pogoplugv4
53 DEVICE_VENDOR
:= Cloud Engines
54 DEVICE_MODEL
:= Pogoplug V4
55 DEVICE_DTS
:= kirkwood-pogoplug-series-4
56 DEVICE_PACKAGES
:= kmod-usb3
58 TARGET_DEVICES
+= cloudengines_pogoplugv4
60 define Device
/iom_iconnect-1.1
61 DEVICE_VENDOR
:= Iomega
62 DEVICE_MODEL
:= Iconnect
63 DEVICE_DTS
:= kirkwood-iconnect
64 BOARD_NAME
:= iconnect
65 SUPPORTED_DEVICES
+= iconnect
67 TARGET_DEVICES
+= iom_iconnect-1.1
69 define Device
/iom_ix2_200
70 DEVICE_VENDOR
:= Iomega
71 DEVICE_MODEL
:= StorCenter ix2-200
72 DEVICE_DTS
:= kirkwood-iomega_ix2_200
73 DEVICE_PACKAGES
+= kmod-gpio-button-hotplug kmod-i2c-mv64xxx kmod-hwmon-lm63
81 IMAGE_SIZE
:= 32505856
82 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | check-size
$$$$(IMAGE_SIZE
)
84 TARGET_DEVICES
+= iom_ix2_200
86 define Device
/linksys_audi
87 DEVICE_VENDOR
:= Linksys
88 DEVICE_MODEL
:= EA3500
(Audi
)
89 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
90 DEVICE_DTS
:= kirkwood-linksys-audi
97 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
98 BOARD_NAME
:= linksys-audi
99 SUPPORTED_DEVICES
+= linksys-audi
101 TARGET_DEVICES
+= linksys_audi
103 define Device
/linksys_viper
104 DEVICE_VENDOR
:= Linksys
105 DEVICE_MODEL
:= E4200v2
/ EA4500
(Viper
)
106 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
107 DEVICE_DTS
:= kirkwood-linksys-viper
111 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
112 BOARD_NAME
:= linksys-viper
113 SUPPORTED_DEVICES
+= linksys-viper
115 TARGET_DEVICES
+= linksys_viper
117 define Device
/raidsonic_ib-nas62x0
118 DEVICE_VENDOR
:= RaidSonic
119 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
120 DEVICE_DTS
:= kirkwood-ib62x0
122 SUPPORTED_DEVICES
+= ib62x0
124 TARGET_DEVICES
+= raidsonic_ib-nas62x0
126 define Device
/seagate_dockstar
127 DEVICE_VENDOR
:= Seagate
128 DEVICE_MODEL
:= FreeAgent Dockstar
129 DEVICE_DTS
:= kirkwood-dockstar
130 BOARD_NAME
:= dockstar
131 SUPPORTED_DEVICES
+= dockstar
133 TARGET_DEVICES
+= seagate_dockstar
135 define Device
/seagate_goflexnet
136 DEVICE_VENDOR
:= Seagate
137 DEVICE_MODEL
:= GoFlexNet
138 DEVICE_DTS
:= kirkwood-goflexnet
139 BOARD_NAME
:= goflexnet
140 SUPPORTED_DEVICES
+= goflexnet
142 TARGET_DEVICES
+= seagate_goflexnet
144 define Device
/seagate_goflexhome
145 DEVICE_VENDOR
:= Seagate
146 DEVICE_MODEL
:= GoFlexHome
147 DEVICE_DTS
:= kirkwood-goflexhome
148 BOARD_NAME
:= goflexhome
149 SUPPORTED_DEVICES
+= goflexhome
151 TARGET_DEVICES
+= seagate_goflexhome
153 define Device
/zyxel_nsa310b
154 DEVICE_VENDOR
:= ZyXEL
155 DEVICE_MODEL
:= NSA310b
156 DEVICE_DTS
:= kirkwood-nsa310b
157 DEVICE_PACKAGES
:= kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85
158 BOARD_NAME
:= nsa310b
160 TARGET_DEVICES
+= zyxel_nsa310b
162 define Device
/zyxel_nsa325
163 DEVICE_VENDOR
:= ZyXEL
164 DEVICE_MODEL
:= NSA325
165 DEVICE_VARIANT
:= v1
/v2
166 DEVICE_DTS
:= kirkwood-nsa325
167 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
170 TARGET_DEVICES
+= zyxel_nsa325
172 $(eval
$(call BuildImage
))