BuildSystem: Create build directory if it doesn't exists

This commit is contained in:
Bananymous 2023-12-27 12:36:40 +02:00
parent 8b5e437936
commit 87272f0cd7
1 changed files with 1 additions and 0 deletions

View File

@ -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