summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDeviceTree/CMakeLists.txt
AgeCommit message (Collapse)Author
2023-02-19LibDeviceTree: Add walk_device_tree and use it to dump structured dataAndrew Kaster
We can use this simple parser and its callbacks to implement more complex parsing in later commits.
2022-11-01Everywhere: Mark dependencies of most targets as PRIVATETim Schumacher
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
2022-11-01Everywhere: Explicitly link all binaries against the LibC targetTim Schumacher
Even though the toolchain implicitly links against -lc, it does not know where it should get LibC from except for the sysroot. In the case of Clang this causes it to pick up the LibC stub instead, which might be slightly outdated and feature missing symbols. This is currently not an issue that manifests because we pass through the dependency on LibC and other libraries by accident, which causes CMake to link against the LibC target (instead of just the library), and thus points the linker at the build output directory. Since we are looking to fix that in the upcoming commits, let's make sure that everything will still be able to find the proper LibC first.
2021-10-21Libraries: Add LibDeviceTree for manipulating OpenFirmware Device TreesAndrew Kaster
Starting with header validation and a dump() method that can be used to debug future parsing work.