IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-to $$$$(BLOCKSIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata
endef
+define Device/asrock_g10
+ $(call Device/FitImage)
+ $(call Device/UbiFit)
+ DEVICE_VENDOR := ASRock
+ DEVICE_MODEL := G10
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ DEVICE_DTS := qcom-ipq8064-g10
+ DEVICE_PACKAGES := kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm75 \
+ ath10k-firmware-qca99x0-ct ipq-wifi-asrock_g10
+ IMAGES := sysupgrade.bin
+endef
+TARGET_DEVICES += asrock_g10
+
define Device/buffalo_wxr-2533dhp
$(call Device/LegacyImage)
SOC := qcom-ipq8064