[openwrt/openwrt] build: image: fix build breakage of some images

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 30 16:14:41 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/b7bac0737e3227d1b581efc9f8951fcdf7391e6f

commit b7bac0737e3227d1b581efc9f8951fcdf7391e6f
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Tue Nov 5 23:57:37 2019 +0100

    build: image: fix build breakage of some images
    
    Commit 881ed09ee6e2 ("build: create JSON files containing image info")
    has removed the crucial empty new line from the image copy step
    resulting in the following errors during make function expansion:
    
     GZ_SUFFIX :=
     bash: GZ_SUFFIX: command not found
     Makefile:86: recipe for target 'openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-sysupgrade.bin' failed
    
    Fixes: 881ed09ee6e2 ("build: create JSON files containing image info")
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
    (cherry picked from commit 0fb23d67f00a18c3f9e712ca97cfc34b38071f4a)
---
 include/image.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/image.mk b/include/image.mk
index 2eedb43753..1e0177c439 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -538,6 +538,7 @@ define Device/Build/image
 		SUPPORTED_DEVICES="$(SUPPORTED_DEVICES)" \
 		$(TOPDIR)/scripts/json_add_image_info.py \
 	)
+
 endef
 
 define Device/Build/artifact



More information about the lede-commits mailing list