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 DEVICE_DTS
= $$(if
$$(BOARD_NAME
),kirkwood-
$$(BOARD_NAME
),)
16 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
17 KERNEL
:= kernel-bin | append-dtb | uImage none
19 KERNEL_SUFFIX
:= -uImage
25 IMAGES
:= sysupgrade.bin factory.bin
26 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
27 IMAGE
/factory.bin
:= append-ubi
28 SUPPORTED_DEVICES
= $(subst _
,$(comma
),$(1)) $$(BOARD_NAME
)
31 define Device
/cisco_on100
32 DEVICE_VENDOR
:= Cisco Systems
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 BOARD_NAME
:= pogo_e02
48 TARGET_DEVICES
+= cloudengines_pogoe02
50 define Device
/cloudengines_pogoplugv4
51 DEVICE_VENDOR
:= Cloud Engines
52 DEVICE_MODEL
:= Pogoplug V4
53 DEVICE_DTS
:= kirkwood-pogoplug-series-4
54 DEVICE_PACKAGES
:= kmod-usb3
56 TARGET_DEVICES
+= cloudengines_pogoplugv4
58 define Device
/iom_iconnect-1.1
59 DEVICE_VENDOR
:= Iomega
60 DEVICE_MODEL
:= Iconnect
61 BOARD_NAME
:= iconnect
63 TARGET_DEVICES
+= iom_iconnect-1.1
65 define Device
/iom_ix2-200
66 DEVICE_VENDOR
:= Iomega
67 DEVICE_MODEL
:= StorCenter ix2-200
68 DEVICE_DTS
:= kirkwood-iomega_ix2_200
69 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-i2c-mv64xxx kmod-hwmon-core \
79 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
80 check-size
$$$$(IMAGE_SIZE
)
82 TARGET_DEVICES
+= iom_ix2-200
84 define Device
/linksys_audi
85 DEVICE_VENDOR
:= Linksys
86 DEVICE_MODEL
:= EA3500
(Audi
)
87 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
94 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
95 BOARD_NAME
:= linksys-audi
97 TARGET_DEVICES
+= linksys_audi
99 define Device
/linksys_viper
100 DEVICE_VENDOR
:= Linksys
101 DEVICE_MODEL
:= E4200v2
/ EA4500
(Viper
)
102 DEVICE_PACKAGES
:= kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
106 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
107 BOARD_NAME
:= linksys-viper
109 TARGET_DEVICES
+= linksys_viper
111 define Device
/raidsonic_ib-nas62x0
112 DEVICE_VENDOR
:= RaidSonic
113 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
116 TARGET_DEVICES
+= raidsonic_ib-nas62x0
118 define Device
/seagate_dockstar
119 DEVICE_VENDOR
:= Seagate
120 DEVICE_MODEL
:= FreeAgent Dockstar
121 BOARD_NAME
:= dockstar
123 TARGET_DEVICES
+= seagate_dockstar
125 define Device
/seagate_goflexnet
126 DEVICE_VENDOR
:= Seagate
127 DEVICE_MODEL
:= GoFlexNet
128 BOARD_NAME
:= goflexnet
130 TARGET_DEVICES
+= seagate_goflexnet
132 define Device
/seagate_goflexhome
133 DEVICE_VENDOR
:= Seagate
134 DEVICE_MODEL
:= GoFlexHome
135 BOARD_NAME
:= goflexhome
137 TARGET_DEVICES
+= seagate_goflexhome
139 define Device
/zyxel_nsa310b
140 DEVICE_VENDOR
:= ZyXEL
141 DEVICE_MODEL
:= NSA310b
142 DEVICE_PACKAGES
:= kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-core \
144 BOARD_NAME
:= nsa310b
146 TARGET_DEVICES
+= zyxel_nsa310b
148 define Device
/zyxel_nsa325
149 DEVICE_VENDOR
:= ZyXEL
150 DEVICE_MODEL
:= NSA325
151 DEVICE_VARIANT
:= v1
/v2
152 DEVICE_PACKAGES
:= kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
155 TARGET_DEVICES
+= zyxel_nsa325
157 $(eval
$(call BuildImage
))