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
:= $(1)
30 define Device
/dockstar
31 DEVICE_DTS
:= kirkwood-dockstar
32 DEVICE_TITLE
:= Seagate FreeAgent Dockstar
33 SUPPORTED_DEVICES
+= seagate
,dockstar
35 TARGET_DEVICES
+= dockstar
37 define Device
/goflexnet
38 DEVICE_TITLE
:= Seagate GoFlexNet
39 DEVICE_DTS
:= kirkwood-goflexnet
40 SUPPORTED_DEVICES
+= seagate
,goflexnet
42 TARGET_DEVICES
+= goflexnet
44 define Device
/goflexhome
45 DEVICE_TITLE
:= Seagate GoFlexHome
46 DEVICE_DTS
:= kirkwood-goflexhome
47 SUPPORTED_DEVICES
+= seagate
,goflexhome
49 TARGET_DEVICES
+= goflexhome
51 define Device
/linksys-audi
52 DEVICE_TITLE
:= Linksys EA3500
(Audi
)
53 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-mini
54 DEVICE_DTS
:= kirkwood-linksys-audi
58 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
59 SUPPORTED_DEVICES
+= linksys
,audi
61 TARGET_DEVICES
+= linksys-audi
63 define Device
/linksys-viper
64 DEVICE_TITLE
:= Linksys E4200v2
/ EA4500
(Viper
)
65 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-mini
66 DEVICE_DTS
:= kirkwood-linksys-viper
70 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
71 SUPPORTED_DEVICES
+= linksys
,viper
73 TARGET_DEVICES
+= linksys-viper
75 define Device
/iconnect
76 DEVICE_TITLE
:= Iomega Iconnect
77 DEVICE_DTS
:= kirkwood-iconnect
78 SUPPORTED_DEVICES
+= iom
,iconnect-1.1
80 TARGET_DEVICES
+= iconnect
83 DEVICE_TITLE
:= ZyXEL NSA310b
84 DEVICE_DTS
:= kirkwood-nsa310b
85 DEVICE_PACKAGES
:= kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85
86 SUPPORTED_DEVICES
+= zyxel
,nsa310b
88 TARGET_DEVICES
+= nsa310b
91 DEVICE_TITLE
:= ZyXEL NSA325
(v1 and v2
)
92 DEVICE_DTS
:= kirkwood-nsa325
93 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
94 SUPPORTED_DEVICES
+= zyxel
,nsa325
96 TARGET_DEVICES
+= nsa325
99 DEVICE_TITLE
:= Cisco Systems ON100
100 DEVICE_DTS
:= kirkwood-on100
101 DEVICE_PACKAGES
:= kmod-i2c-mv64xxx
105 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
106 SUPPORTED_DEVICES
:= cisco
,on100
108 TARGET_DEVICES
+= on100
110 define Device
/pogo_e02
111 DEVICE_TITLE
:= Cloud Engines Pogoplug E02
112 DEVICE_DTS
:= kirkwood-pogo_e02
113 SUPPORTED_DEVICES
+= cloudengines
,pogoe02
115 TARGET_DEVICES
+= pogo_e02
118 DEVICE_TITLE
:= RaidSonic ICY BOX IB-NAS62x0
119 DEVICE_DTS
:= kirkwood-ib62x0
120 SUPPORTED_DEVICES
+= raidsonic
,ib-nas62x0
122 TARGET_DEVICES
+= ib62x0
124 $(eval
$(call BuildImage
))