mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
uboot-tools: fix libyaml linker error
When we cross build uboot-tools, the dtc tool is still compiled for the host. Therefore, we should not attempt to link the OpenWrt system libraries. CPU architecture mismatch can lead to build errors. Fixes: https://github.com/openwrt/openwrt/issues/22924 Fixes: 55925650aabb ("uboot-tools: update to v2026.04") Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/22927 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
9dfc0c3eea
commit
e77670e763
@ -82,7 +82,7 @@ MAKE_FLAGS += \
|
||||
ARCH="sandbox" \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR_HOST)" \
|
||||
NO_PYTHON=1 \
|
||||
V=$(if $(findstring c,$(OPENWRT_VERBOSE)),1,)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user