Files
meta-openembedded/meta-oe/recipes-devtools
Khem Raj 255a09ab7f android-tools: fix musl build (off64_t, LFS64 fns, b64_pton, ANDROID_HOST_MUSL)
Several independent musl gaps surfaced one after another as each was
fixed and the build progressed further:
- android-base/off64_t.h only worked around __APPLE__ lacking off64_t;
  extend the same typedef fallback to musl.
- sysdeps.h's adb_pread/adb_pwrite/adb_lseek only fell back to the
  plain (non-LFS64) functions on __APPLE__; musl needs the same
  fallback for pread64/pwrite64/lseek64.
- daemon/auth.cpp calls b64_pton() from <resolv.h>, which the Linux
  host build gets via -lresolv and bionic provides natively, but musl
  has neither; vendor the standard BSD implementation for it.
- android-base/endian.h and threads.h already gate a musl-aware branch
  behind ANDROID_HOST_MUSL, matching upstream's own expectation, but
  nothing defined that macro for this recipe's build; define it via
  CFLAGS/CXXFLAGS for the musl toolchain.

AI-Generated: Uses Claude Code

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-29 15:35:17 -07:00
..
2026-08-19 07:40:05 -07:00
2026-06-28 00:59:25 -07:00
2026-09-04 17:10:39 -07:00
…
2026-07-28 22:48:26 -07:00
2026-06-28 00:59:12 -07:00
2026-06-28 00:59:16 -07:00
2026-09-27 07:53:49 -07:00
2026-08-19 00:52:54 -07:00
2026-09-27 07:53:49 -07:00
2026-05-12 01:06:50 -07:00
2026-08-26 10:26:42 -07:00
2026-09-02 11:48:55 -07:00
2026-08-14 09:06:20 -07:00
2026-04-15 22:45:59 -07:00
2026-08-02 09:18:05 -07:00
…
2026-04-14 08:59:32 -07:00
2026-09-14 13:56:21 -07:00
…
2026-09-11 07:07:58 -07:00
2026-09-26 08:52:57 -07:00
…
2026-09-28 06:57:40 -07:00
2026-08-20 11:10:54 -07:00
2026-09-03 07:30:33 -07:00
2026-06-25 08:45:11 -07:00
2026-07-22 11:52:20 -07:00
2026-09-03 07:30:37 -07:00
2026-08-14 09:06:18 -07:00
…