dtc/libfdt
Héctor Orón Martínez 7a1e017926 libfdt: pass sources as keyword argument to library()
Meson expects the source list for library() to be passed either as
positional arguments after the target name or via the 'sources:'
keyword. Using the implicit positional form can lead to malformed
linker commands on some toolchains, with spurious arguments such as
'libfdt' and '.' being treated as input files.

Explicitly pass the source list via 'sources: sources' and declare
the ABI version with 'soversion: '1'' to match the installed
libfdt.so.1 soname.

This fixes build failures where the linker reported:
  cannot find libfdt: file format not recognized
  cannot find .: file format not recognized

Signed-off-by: Héctor Orón Martínez <hector.oron@gmail.com>

Message-ID: <CAODfWeHQcjGn0CtweT4Q9Em6WC9cTmvfxhuQCgae4gdu5W9hSA@mail.gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2026-09-08 21:11:38 +10:00
..
.gitignore Link tools and tests against libfdt shared library 2019-03-29 17:20:16 +11:00
Makefile.libfdt libfdt: rename libfdt-X.Y.Z.so to libfdt.so.X.Y.Z 2023-08-06 14:53:29 +10:00
TODO libfdt: Document most remaining functions 2025-08-01 11:34:18 +10:00
fdt.c libfdt: Verify alignment of sub-blocks in dtb 2026-01-28 12:14:09 +11:00
fdt.h Use __ASSEMBLER__ instead of __ASSEMBLY__ 2025-03-14 13:51:31 +11:00
fdt_addresses.c libfdt: fix an incorrect integer promotion 2021-11-17 12:22:53 +11:00
fdt_check.c libfdt: fdt_check_full: Add can_assume(PERFECT) check 2026-06-17 15:31:29 +10:00
fdt_empty_tree.c libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags 2019-06-21 21:06:10 +10:00
fdt_overlay.c Fix discarded const qualifiers 2026-01-10 18:55:38 +11:00
fdt_ro.c libfdt: Fix bugs with unchecked usage of fdt_num_mem_rsv() 2026-04-17 21:21:16 +10:00
fdt_rw.c libfdt: Revert accidental ABI breakage 2026-05-28 11:52:59 +10:00
fdt_strerror.c libfdt: Add ALIGNMENT error string 2021-08-02 12:21:53 +10:00
fdt_sw.c libfdt: fix UBSAN null pointer in fdt_property() 2026-05-20 11:35:03 +10:00
fdt_wip.c libfdt: libfdt_wip: Fix comparison warning 2020-10-02 10:30:07 +10:00
libfdt.h libfdt: Revert accidental ABI breakage 2026-05-28 11:52:59 +10:00
libfdt_env.h libfdt: Remove old MacOS strnlen workaround 2025-09-30 12:03:03 +10:00
libfdt_internal.h libfdt: Improve size savings in FDT_RO_PROBE slightly 2025-12-10 17:46:08 +11:00
meson.build libfdt: pass sources as keyword argument to library() 2026-09-08 21:11:38 +10:00
sbom.cdx.json libfdt: Move the SBOM authors section 2024-11-20 16:16:57 +11:00
version.lds libfdt: Add fdt_setprop_namelen() 2024-12-06 16:42:25 +11:00