81f83fd0737c6d15ff40206e6d82ffc99ed1575a
[openwrt/openwrt.git] / target / linux / ath79 / image / tiny-netgear.mk
1 include ./common-netgear.mk
2
3
4 define Device/netgear_wnr612-v2
5 ATH_SOC := ar7240
6 DEVICE_TITLE := Netgear WNR612v2
7 DEVICE_DTS := ar7240_netgear_wnr612-v2
8 NETGEAR_KERNEL_MAGIC := 0x32303631
9 KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
10 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
11 NETGEAR_BOARD_ID := REALWNR612V2
12 IMAGE_SIZE := 3904k
13 IMAGES := sysupgrade.bin factory.img
14 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
15 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
16 IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
17 SUPPORTED_DEVICES := netgear,wnr612-v2 wnr612-v2
18 endef
19 TARGET_DEVICES += netgear_wnr612-v2