0a14fcdd5bc61e2601b918dd291e4f5678e21ee5
[openwrt/openwrt.git] / target / linux / ath79 / image / tiny.mk
1 DEVICE_VARS += ROOTFS_SIZE
2
3 define Device/buffalo_bhr-4grv2
4 ATH_SOC := qca9558
5 DEVICE_TITLE := Buffalo BHR-4GRV2
6 BOARDNAME := BHR-4GRV2
7 ROOTFS_SIZE := 14528k
8 KERNEL_SIZE := 1472k
9 IMAGE_SIZE := 16000k
10 IMAGES += factory.bin
11 IMAGE/sysupgrade.bin := \
12 append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | \
13 append-kernel | append-metadata | check-size $$$$(IMAGE_SIZE)
14 IMAGE/factory.bin := append-kernel | \
15 pad-to $$$$(KERNEL_SIZE) | append-rootfs | pad-rootfs | mkbuffaloimg
16 SUPPORTED_DEVICES += bhr-4grv2
17 endef
18 TARGET_DEVICES += buffalo_bhr-4grv2