summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-04 08:07:53 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-04 08:07:53 +0100
commitf5b2bdb88681bd16f2a32c8fb3f51cfc65da9448 (patch)
tree00d7997605e0ab64edb125acd7bbb02f8ff4de7a
parent1b7a9fd637d2ca98d1da5ded0e2090bd311b4b8c (diff)
mk: re-make gnupath/ after handling crossgcc
instead of deleting every file within Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk b/mk
index 2dd9379b..c87acfe7 100755
--- a/mk
+++ b/mk
@@ -317,7 +317,7 @@ check_cross_compiler()
x_ make -C "$cbdir" crossgcc-$xfix $xgccargs
# we only want to mess with hostcc to build xgcc
- rm -f "$XBMK_CACHE/gnupath/"* || $err "Can't clear gnupath/"; :
+ remkdir "$XBMK_CACHE/gnupath"
}
# fix mismatching gcc/gnat versions on debian trixie/sid. as of december 2024,