aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-01-22 01:35:16 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-22 01:35:16 +0100
commit28e1770a3bd10014b082669e55af32d8de3f67fb (patch)
tree6c6727bfc8cd28699580c6674acbdcd56da54eeb /tools
parent1bead4c521b6f6cf711fd06398d54b1a6fbbef96 (diff)
downloadupstream-28e1770a3bd10014b082669e55af32d8de3f67fb.tar.gz
upstream-28e1770a3bd10014b082669e55af32d8de3f67fb.tar.bz2
upstream-28e1770a3bd10014b082669e55af32d8de3f67fb.zip
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@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage/Makefile1
1 files changed, 1 insertions, 0 deletions
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