From de07a0a29a8c06f5c45271adda1598f67b27bd82 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Tue, 22 Jan 2019 22:48:57 +0100 Subject: [PATCH] gemini: lazy set IMAGE_NAME Currently, IMAGE_NAME is expanded at declaration time and this causes strange filename in the builder's logs: |cp: cannot stat '[...]/openwrt-gemini-dlink-dns-313-.': No such file or directory |cp: cannot stat '[...]/openwrt-gemini-nas4220b-.': No such file or directory |[...] Signed-off-by: Christian Lamparter --- target/linux/gemini/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index c1d7792bf8..a92b466a64 100644 --- a/target/linux/gemini/image/Makefile +++ b/target/linux/gemini/image/Makefile @@ -91,7 +91,7 @@ define Device/Default KERNEL_NAME := zImage KERNEL := kernel-bin | append-dtb FILESYSTEMS := squashfs - IMAGE_NAME := $$(IMAGE_PREFIX)-$$(1).$$(2) + IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2) BLOCKSIZE := 128k PAGESIZE := 2048 endef -- 2.25.1