From: Christian Lamparter Date: Tue, 22 Jan 2019 21:48:57 +0000 (+0100) Subject: gemini: lazy set IMAGE_NAME X-Git-Tag: v19.07.0-rc1~1520 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de07a0a29a8c06f5c45271adda1598f67b27bd82;p=oweals%2Fopenwrt.git 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 --- 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