commit | 442c09afd2cd4467df333c1171c0a21564696465 | [log] [tgz] |
---|---|---|
author | Govindraj Raja <govindraj.raja@arm.com> | Thu Apr 10 16:30:22 2025 +0200 |
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | Thu Apr 10 16:30:22 2025 +0200 |
tree | 87cc598321277de3f3e3a6201a9961638a17ca36 | |
parent | 507154cf4adda260ff8b15b61791d3bf6e000a58 [diff] |
Revert "chore(no-merge): test ci static checks" This reverts commit 507154cf4adda260ff8b15b61791d3bf6e000a58. Reason for revert: Accidental merge while testing gerrit permission Change-Id: I3fc5870893ca19fca73fc73a9371e4cb2e020c6a Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
The Transfer List Library (LibTL) implements the Firmware Handoff specification, providing a streamlined interface for managing transfer lists. LibTL offers a user-friendly interface for:
The library supports building with host tools such as Clang and GCC, and cross compilation with the Aarch64 GNU compiler.
To configure the project, use the following command. This will default to using GCC as the toolchain and create a build directory named build/
:
cmake -B build
To build the project, use:
cmake --build build
This will output libtl.a in the build directory.
For cross-compilation or selecting a different compiler, specify the target toolchain file using the CMAKE_TOOLCHAIN_FILE
option and the target with CROSS_COMPILE
:
export CROSS_COMPILE=aarch64-none-elf- cmake -B build -DCMAKE_TOOLCHAIN_FILE=toolchains/host/gnu.cmake
Tests for LibTL are provided in the folder test
, to configure the project for test builds, run:
cmake -B build -DTARGET_GROUP=test cmake --build build
Then, to run the tests with ctest
, use:
ctest --test-dir build/