Skip to content

Commit

Permalink
[Meta] Check in a script to list libc headers
Browse files Browse the repository at this point in the history
  • Loading branch information
codyd51 committed Feb 7, 2024
1 parent 911b53e commit d197f1e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/list_libc_headers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from pathlib import Path


def list_libc_headers() -> None:
sysroot_path = Path(__file__).parents[1] / 'axle-sysroot' / 'usr' / 'include'
for p in sorted(sysroot_path.rglob("*")):
if p.is_dir():
continue
relative_path = p.relative_to(sysroot_path)
print(f' "{relative_path}",')


if __name__ == '__main__':
list_libc_headers()

0 comments on commit d197f1e

Please sign in to comment.