From: Shiji Yang Date: Fri, 19 May 2023 06:05:01 +0000 (+0800) Subject: ramips: fix build error on Airlink AR670W X-Git-Tag: v23.05.0-rc1~98 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab7e2513034fe0e33ec17c13c8bf81189b0ce742;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk index 3d2d0c7ae0..c93d7d78e5 100644 --- a/target/linux/ramips/image/rt288x.mk +++ b/target/linux/ramips/image/rt288x.mk @@ -15,7 +15,7 @@ define Device/airlink101_ar670w DEVICE_VENDOR := Airlink DEVICE_MODEL := AR670W IMAGE_SIZE := 3840k - KERNEL := $(KERNEL_DTB) | pad-to $$$$(BLOCKSIZE) + KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE) IMAGES += factory.bin IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \ wrg-header wrgn16a_airlink_ar670w