aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/image/Makefile
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-01-22 22:48:57 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-01-24 15:53:04 +0100
commitde07a0a29a8c06f5c45271adda1598f67b27bd82 (patch)
tree737ff0ce331616592352991ecf97f0ed7780213b /target/linux/gemini/image/Makefile
parent71cf3eab2551487cde81a0b85524496c70a8faec (diff)
downloadupstream-de07a0a29a8c06f5c45271adda1598f67b27bd82.tar.gz
upstream-de07a0a29a8c06f5c45271adda1598f67b27bd82.tar.bz2
upstream-de07a0a29a8c06f5c45271adda1598f67b27bd82.zip
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 <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/gemini/image/Makefile')
-rw-r--r--target/linux/gemini/image/Makefile2
1 files changed, 1 insertions, 1 deletions
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