macOS improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools: kwboot: Link with libncurses on macOStools/ | +5 | 0 replies | |
| 2/3 | tools: kwboot: Define _is_within_tolerance() only with BOTHERtools/ | +2 | 0 replies | |
| 3/3 | lib: crc8: Do not include asm/sections.h in host buildslib/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] macOS improvements
With HOST_TOOLS_ALL=y, the U-Boot host tools do not build on macOS. crc8.o does not compile and kwboot does not link. The kwboot link error also stops board builds such as turris_omnia.
Patch 1 links kwboot with the system libncurses, patch 2 removes an unused function warning in kwboot, and patch 3 keeps the sandbox asm/sections.h out of the host build of crc8.c.
Tested on macOS 27.0.1 with Apple clang 21: tools-only with HOST_TOOLS_ALL=y and the host tools of turris_omnia_defconfig now build, and kwboot boots a Turris Omnia over UART. On Linux (Debian trixie, GCC 14.2) the same tools-only build and a full turris_omnia build still pass, and kwboot still links against libtinfo.
Josef Schlehofer (3):
tools: kwboot: Link with libncurses on macOS
tools: kwboot: Define _is_within_tolerance() only with BOTHER
lib: crc8: Do not include asm/sections.h in host builds
lib/crc8.c | 4 +++- tools/Makefile | 5 +++++ tools/kwboot.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-)
Signature · 1 line
2.54.0 (Apple Git-157)