[openwrt/openwrt] imagebuilder: pass IB=1 on checking requirements

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 19 18:03:24 EST 2021


aparcar pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/c21d59dc117ae10ffa3dc6930e39a224dd9440c1

commit c21d59dc117ae10ffa3dc6930e39a224dd9440c1
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Jun 9 22:24:29 2020 -0400

    imagebuilder: pass IB=1 on checking requirements
    
    The patch 4a1a58a3  build, imagebuilder: Do not require libncurses-dev
    was supposed to remove libncurses as a requirement for the ImageBuilder.
    However as the IB=1 is only exported during building, not for checking
    requirements, it did never actually work.
    
    This commit export IB=1 to the requirement check.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
    (cherry picked from commit 4f3806364011aa3aef26fcab2e7b71837a777bcc)
---
 target/imagebuilder/files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 2bdb2b5bde..326dd2ba2f 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -84,7 +84,7 @@ PROFILE_LIST = $(foreach p,$(PROFILE_NAMES), \
 
 staging_dir/host/.prereq-build: include/prereq-build.mk
 	mkdir -p tmp
-	@$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \
+	@$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq IB=1 2>/dev/null || { \
 		echo "Prerequisite check failed. Use FORCE=1 to override."; \
 		false; \
 	}



More information about the lede-commits mailing list