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
/seagate_dockstar
31 DEVICE_DTS
:= kirkwood-dockstar
32 DEVICE_TITLE
:= Seagate FreeAgent Dockstar
33 BOARD_NAME
:= dockstar
34 SUPPORTED_DEVICES
+= dockstar
36 TARGET_DEVICES
+= seagate_dockstar
38 define Device
/seagate_goflexnet
39 DEVICE_TITLE
:= Seagate GoFlexNet
40 DEVICE_DTS
:= kirkwood-goflexnet
41 BOARD_NAME
:= goflexnet
42 SUPPORTED_DEVICES
+= goflexnet
44 TARGET_DEVICES
+= seagate_goflexnet
46 define Device
/seagate_goflexhome
47 DEVICE_TITLE
:= Seagate GoFlexHome
48 DEVICE_DTS
:= kirkwood-goflexhome
49 BOARD_NAME
:= goflexhome
50 SUPPORTED_DEVICES
+= goflexhome
52 TARGET_DEVICES
+= seagate_goflexhome
54 define Device
/linksys_audi
55 DEVICE_TITLE
:= Linksys EA3500
(Audi
)
56 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-mini
57 DEVICE_DTS
:= kirkwood-linksys-audi
61 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
62 BOARD_NAME
:= linksys-audi
63 SUPPORTED_DEVICES
+= linksys-audi
65 TARGET_DEVICES
+= linksys_audi
67 define Device
/linksys_viper
68 DEVICE_TITLE
:= Linksys E4200v2
/ EA4500
(Viper
)
69 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-mini
70 DEVICE_DTS
:= kirkwood-linksys-viper
74 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
75 BOARD_NAME
:= linksys-viper
76 SUPPORTED_DEVICES
+= linksys-viper
78 TARGET_DEVICES
+= linksys_viper
80 define Device
/iom_iconnect-1.1
81 DEVICE_TITLE
:= Iomega Iconnect
82 DEVICE_DTS
:= kirkwood-iconnect
83 BOARD_NAME
:= iconnect
84 SUPPORTED_DEVICES
+= iconnect
86 TARGET_DEVICES
+= iom_iconnect-1.1
88 define Device
/zyxel_nsa310b
89 DEVICE_TITLE
:= ZyXEL NSA310b
90 DEVICE_DTS
:= kirkwood-nsa310b
91 DEVICE_PACKAGES
:= kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85
94 TARGET_DEVICES
+= zyxel_nsa310b
96 define Device
/zyxel_nsa325
97 DEVICE_TITLE
:= ZyXEL NSA325
(v1 and v2
)
98 DEVICE_DTS
:= kirkwood-nsa325
99 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
102 TARGET_DEVICES
+= zyxel_nsa325
104 define Device
/cisco_on100
105 DEVICE_TITLE
:= Cisco Systems ON100
106 DEVICE_DTS
:= kirkwood-on100
107 DEVICE_PACKAGES
:= kmod-i2c-mv64xxx
111 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
114 TARGET_DEVICES
+= cisco_on100
116 define Device
/cloudengines_pogoe02
117 DEVICE_TITLE
:= Cloud Engines Pogoplug E02
118 DEVICE_DTS
:= kirkwood-pogo_e02
119 BOARD_NAME
:= pogo_e02
120 SUPPORTED_DEVICES
+= pogo_e02
122 TARGET_DEVICES
+= cloudengines_pogoe02
124 define Device
/raidsonic_ib-nas62x0
125 DEVICE_TITLE
:= RaidSonic ICY BOX IB-NAS62x0
126 DEVICE_DTS
:= kirkwood-ib62x0
128 SUPPORTED_DEVICES
+= ib62x0
130 TARGET_DEVICES
+= raidsonic_ib-nas62x0
132 $(eval
$(call BuildImage
))