Files
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

27 lines
1.0 KiB
Diff

Musl fixes, which should be applied upstream too
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/src/dbus/common/types.hpp
+++ b/src/dbus/common/types.hpp
@@ -715,7 +715,7 @@ struct TrelInfo
};
bool mEnabled; ///< Whether TREL is enabled.
- u_int16_t mNumTrelPeers; ///< The number of TREL peers.
+ uint16_t mNumTrelPeers; ///< The number of TREL peers.
TrelPacketCounters mTrelCounters; ///< The TREL counters.
};
--- a/third_party/openthread/repo/src/posix/platform/CMakeLists.txt
+++ b/third_party/openthread/repo/src/posix/platform/CMakeLists.txt
@@ -172,7 +172,7 @@ target_link_libraries(openthread-posix
)
option(OT_TARGET_OPENWRT "enable openthread posix for OpenWRT" OFF)
-if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT OT_TARGET_OPENWRT)
+if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT OT_TARGET_OPENWRT AND NOT OT_TARGET_MUSL)
target_compile_definitions(ot-posix-config
INTERFACE "OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE=1"
)