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-05 12:18:22 +0100
commitd82668ffa5292c2c1fff229a7230b6d75b109c96 (patch)
tree254ba9ee3e753a0cc427409420df4817cfe9064d
parentb3bb9eba598f65ffc01b17964f9cc3f0a9fd432e (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,