From 87272f0cd7b6da094794889d72026060d1a0482c Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 27 Dec 2023 12:36:40 +0200 Subject: [PATCH] BuildSystem: Create build directory if it doesn't exists --- toolchain/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/build.sh b/toolchain/build.sh index 85a58f8df1..dca571b8f0 100755 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -153,6 +153,7 @@ build_libstdcpp () { } # delete everything but toolchain +mkdir -p $BANAN_BUILD_DIR find $BANAN_BUILD_DIR -mindepth 1 -maxdepth 1 ! -name toolchain -exec rm -r {} + # NOTE: we have to manually create initial sysroot with libc headers