Skip to content
Permalink
Browse files

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>
  • Loading branch information...
chunkeey committed Jan 22, 2019
1 parent 71cf3ea commit de07a0a29a8c06f5c45271adda1598f67b27bd82
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit de07a0a

Please sign in to comment.
You can’t perform that action at this time.