commit | 65fe364f1aef3c060884ab61d750f9c55cba2459 | [log] [tgz] |
---|---|---|
author | Manish Pandey <manish.pandey2@arm.com> | Fri Mar 21 12:44:42 2025 +0000 |
committer | Manish Pandey <manish.pandey2@arm.com> | Fri Mar 21 14:42:58 2025 +0000 |
tree | 68747fbf5c5c13b9622052553b5ae0849d74d3df |
Initial commit Change-Id: I26f6fdfd4962e2c724bf6b68893156f11d37d4b1
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/