mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
c68105c3b4
The Buffalo devices in ath79 share their image generation code, so let's create a shared Device definition for them. Since most of them use BUFFALO_HWVER := 3, this is moved as default to the shared definition as well. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
include ./common-buffalo.mk
|
|
|
|
define Device/buffalo_whr-g301n
|
|
$(Device/buffalo_common)
|
|
SOC := ar7240
|
|
DEVICE_MODEL := WHR-G301N
|
|
BUFFALO_PRODUCT := WHR-G301N
|
|
IMAGE_SIZE := 3712k
|
|
SUPPORTED_DEVICES += whr-g301n
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += buffalo_whr-g301n
|
|
|
|
define Device/dlink_dir-615-e4
|
|
SOC := ar7240
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-615
|
|
DEVICE_VARIANT := E4
|
|
IMAGE_SIZE := 3776k
|
|
FACTORY_IMAGE_SIZE := 3456k
|
|
IMAGES += factory.bin
|
|
IMAGE/default := append-kernel | append-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | \
|
|
check-size $$$$(FACTORY_IMAGE_SIZE) | pad-to $$$$(FACTORY_IMAGE_SIZE) | \
|
|
append-string "AP99-AR7240-RT-091105-05"
|
|
SUPPORTED_DEVICES += dir-615-e4
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-615-e4
|
|
|
|
define Device/pqi_air-pen
|
|
SOC := ar9330
|
|
DEVICE_VENDOR := PQI
|
|
DEVICE_MODEL := Air-Pen
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 7680k
|
|
SUPPORTED_DEVICES += pqi-air-pen
|
|
endef
|
|
TARGET_DEVICES += pqi_air-pen
|