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
94 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
95 BOARD_NAME
:= linksys-audi
96 SUPPORTED_DEVICES
+= linksys-audi
98 TARGET_DEVICES
+= linksys_audi
100 define Device
/linksys_viper
101 DEVICE_VENDOR
:= Linksys
102 DEVICE_MODEL
:= E4200v2
/ EA4500
(Viper
)
103 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
104 DEVICE_DTS
:= kirkwood-linksys-viper
108 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
109 BOARD_NAME
:= linksys-viper
110 SUPPORTED_DEVICES
+= linksys-viper
112 TARGET_DEVICES
+= linksys_viper
114 define Device
/raidsonic_ib-nas62x0
115 DEVICE_VENDOR
:= RaidSonic
116 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
117 DEVICE_DTS
:= kirkwood-ib62x0
119 SUPPORTED_DEVICES
+= ib62x0
121 TARGET_DEVICES
+= raidsonic_ib-nas62x0
123 define Device
/seagate_dockstar
124 DEVICE_VENDOR
:= Seagate
125 DEVICE_MODEL
:= FreeAgent Dockstar
126 DEVICE_DTS
:= kirkwood-dockstar
127 BOARD_NAME
:= dockstar
128 SUPPORTED_DEVICES
+= dockstar
130 TARGET_DEVICES
+= seagate_dockstar
132 define Device
/seagate_goflexnet
133 DEVICE_VENDOR
:= Seagate
134 DEVICE_MODEL
:= GoFlexNet
135 DEVICE_DTS
:= kirkwood-goflexnet
136 BOARD_NAME
:= goflexnet
137 SUPPORTED_DEVICES
+= goflexnet
139 TARGET_DEVICES
+= seagate_goflexnet
141 define Device
/seagate_goflexhome
142 DEVICE_VENDOR
:= Seagate
143 DEVICE_MODEL
:= GoFlexHome
144 DEVICE_DTS
:= kirkwood-goflexhome
145 BOARD_NAME
:= goflexhome
146 SUPPORTED_DEVICES
+= goflexhome
148 TARGET_DEVICES
+= seagate_goflexhome
150 define Device
/zyxel_nsa310b
151 DEVICE_VENDOR
:= ZyXEL
152 DEVICE_MODEL
:= NSA310b
153 DEVICE_DTS
:= kirkwood-nsa310b
154 DEVICE_PACKAGES
:= kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85
155 BOARD_NAME
:= nsa310b
157 TARGET_DEVICES
+= zyxel_nsa310b
159 define Device
/zyxel_nsa325
160 DEVICE_VENDOR
:= ZyXEL
161 DEVICE_MODEL
:= NSA325
162 DEVICE_VARIANT
:= v1
/v2
163 DEVICE_DTS
:= kirkwood-nsa325
164 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
167 TARGET_DEVICES
+= zyxel_nsa325
169 $(eval
$(call BuildImage
))