ramips: fix build error on Airlink AR670W

The 'KERNEL' is not referenced by other objects, so double '$$' will
cause shell unable to parse the variable 'BLOCKSIZE':
  dd ... bs=$(BLOCKSIZE) conv=sync
  bash: line 1: BLOCKSIZE: command not found

Fixes: 09a0efbe83(ramips: set default BLOCKSIZE to 64k for nor flash devices)
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
Shiji Yang 2023-05-19 14:05:01 +08:00 committed by Hauke Mehrtens
parent 3a935f7ea9
commit ab7e251303

View File

@ -15,7 +15,7 @@ define Device/airlink101_ar670w
DEVICE_VENDOR := Airlink DEVICE_VENDOR := Airlink
DEVICE_MODEL := AR670W DEVICE_MODEL := AR670W
IMAGE_SIZE := 3840k IMAGE_SIZE := 3840k
KERNEL := $(KERNEL_DTB) | pad-to $$$$(BLOCKSIZE) KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
IMAGES += factory.bin IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \ IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
wrg-header wrgn16a_airlink_ar670w wrg-header wrgn16a_airlink_ar670w