ath79: nand: add KERNEL_SIZE for glinet_gl-ar750s-nor-nand

The recipe check-kernel-size was deprecated and use KERNEL_SIZE to
check the size of the kernel image.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-09-13 08:05:58 +08:00
parent bc54e5ea6e
commit 7f022898e9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -92,11 +92,10 @@ endef
define Device/glinet_gl-ar750s-nor-nand
$(Device/glinet_gl-ar750s-common)
DEVICE_VARIANT := NOR/NAND
KERNEL_SIZE:= 2048k
BLOCKSIZE := 128k
GL_UBOOT_UBI_OFFSET := 2048k
IMAGES += factory.img
IMAGE/factory.img := append-kernel | pad-to $$$$(GL_UBOOT_UBI_OFFSET) | \
append-ubi | check-kernel-size $$$$(GL_UBOOT_UBI_OFFSET)
IMAGE/factory.img := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
SUPPORTED_DEVICES += glinet,gl-ar750s-nor
endef