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:
parent
bc54e5ea6e
commit
7f022898e9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user