Added deletion of temporary folders before build
This commit is contained in:
@@ -67,7 +67,7 @@ done
|
|||||||
# BINUTILS
|
# BINUTILS
|
||||||
# ==================================================================
|
# ==================================================================
|
||||||
echo "== Сборка binutils-${BINUTILS_VER} =="
|
echo "== Сборка binutils-${BINUTILS_VER} =="
|
||||||
mkdir -p build/binutils && cd build/binutils
|
rm -rf build/binutils && mkdir -p build/binutils && cd build/binutils
|
||||||
"${SRC_BINUTILS}/configure" \
|
"${SRC_BINUTILS}/configure" \
|
||||||
--target="${TARGET}" \
|
--target="${TARGET}" \
|
||||||
--prefix="${INSTALL_DIR}" \
|
--prefix="${INSTALL_DIR}" \
|
||||||
@@ -88,7 +88,7 @@ cd "${SRC_GCC}"
|
|||||||
./contrib/download_prerequisites
|
./contrib/download_prerequisites
|
||||||
cd "${TOP}"
|
cd "${TOP}"
|
||||||
|
|
||||||
mkdir -p build/gcc1 && cd build/gcc1
|
rm -rf build/gcc1 && mkdir -p build/gcc1 && cd build/gcc1
|
||||||
"${SRC_GCC}/configure" \
|
"${SRC_GCC}/configure" \
|
||||||
--target="${TARGET}" \
|
--target="${TARGET}" \
|
||||||
--prefix="${INSTALL_DIR}" \
|
--prefix="${INSTALL_DIR}" \
|
||||||
@@ -120,7 +120,7 @@ cd "${TOP}"
|
|||||||
# ==================================================================
|
# ==================================================================
|
||||||
echo "== Установка заголовков linux-${LINUX_VER} =="
|
echo "== Установка заголовков linux-${LINUX_VER} =="
|
||||||
|
|
||||||
mkdir -p build/kernelheader
|
rm -rf build/kernelheader && mkdir -p build/kernelheader
|
||||||
cd "${SRC_LINUX}"
|
cd "${SRC_LINUX}"
|
||||||
|
|
||||||
PATH="${INSTALL_BIN_DIR}:${PATH}" \
|
PATH="${INSTALL_BIN_DIR}:${PATH}" \
|
||||||
@@ -163,7 +163,7 @@ cd "${TOP}"
|
|||||||
# GCC FINAL (C + C++)
|
# GCC FINAL (C + C++)
|
||||||
# ==================================================================
|
# ==================================================================
|
||||||
echo "== Сборка финального GCC-${GCC_VER} (C+C++) =="
|
echo "== Сборка финального GCC-${GCC_VER} (C+C++) =="
|
||||||
mkdir -p build/gcc2 && cd build/gcc2
|
rm -rf build/gcc2 && mkdir -p build/gcc2 && cd build/gcc2
|
||||||
"${SRC_GCC}/configure" \
|
"${SRC_GCC}/configure" \
|
||||||
--target="${TARGET}" \
|
--target="${TARGET}" \
|
||||||
--prefix="${INSTALL_DIR}" \
|
--prefix="${INSTALL_DIR}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user