track prefix toolchain tarballs for disaster recovery

make distclean destroyed prefix/ which was entirely gitignored.
Now prefix/*.tar.gz (clang/gcc/rust toolchain, ~408MB) is tracked.
Recovery after distclean: git checkout + make prefix (extract + build relibc).

prefix/.gitignore allows only *.tar.gz files; extracted directories,
relibc-install, and sysroot remain untracked (regenerable).
This commit is contained in:
2026-05-06 19:52:44 +01:00
parent 9d8f45f38e
commit f9396e34d8
5 changed files with 8 additions and 1 deletions
-1
View File
@@ -1,5 +1,4 @@
/build/
/prefix/
**/my_*
.idea/
+8
View File
@@ -0,0 +1,8 @@
# Track: toolchain tarballs for instant recovery after make distclean
# Ignore: extracted directories (regenerable), sysroot (changes per build), relibc-install
# Ignore everything by default
/*
# Track tarballs
!/*.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.