[openwrt/openwrt] tools/mkimage: build uboot with NO_SDL=1

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 21 18:10:49 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/28e1770a3bd10014b082669e55af32d8de3f67fb

commit 28e1770a3bd10014b082669e55af32d8de3f67fb
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun Jan 22 01:35:16 2023 +0100

    tools/mkimage: build uboot with NO_SDL=1
    
    From uboot Documentation for uboot-2022.01 for tools-only we can build
    with NO_SDL=1 to skip installing the sdl2 package.
    
    Follow this to fix compilation error on macos
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 tools/mkimage/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index fd5dad0cd8..5473be7a91 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -26,6 +26,7 @@ define Host/Compile
 		HOSTLDFLAGS="$(HOST_LDFLAGS)" \
 		PKG_CONFIG_EXTRAARGS="--static" \
 		V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1) \
+		NO_SDL=1 \
 		tools-only_config \
 		tools-only
 endef




More information about the lede-commits mailing list