forked from Bananymous/banan-os
BuildSystem: Use git apply instead of am
This allows you to not have configured git user
This commit is contained in:
parent
93a72ebd06
commit
7c6565880d
|
@ -69,7 +69,7 @@ build_binutils () {
|
||||||
if [ ! -d $BINUTILS_VERSION ]; then
|
if [ ! -d $BINUTILS_VERSION ]; then
|
||||||
git clone --single-branch --branch $BINUTILS_BRANCH $BINUTILS_GIT $BINUTILS_VERSION
|
git clone --single-branch --branch $BINUTILS_BRANCH $BINUTILS_GIT $BINUTILS_VERSION
|
||||||
cd $BINUTILS_VERSION
|
cd $BINUTILS_VERSION
|
||||||
git am $BANAN_TOOLCHAIN_DIR/$BINUTILS_VERSION.patch
|
git apply $BANAN_TOOLCHAIN_DIR/$BINUTILS_VERSION.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $BANAN_BUILD_DIR/toolchain/$BINUTILS_VERSION
|
cd $BANAN_BUILD_DIR/toolchain/$BINUTILS_VERSION
|
||||||
|
@ -95,7 +95,7 @@ build_gcc () {
|
||||||
if [ ! -d $GCC_VERSION ]; then
|
if [ ! -d $GCC_VERSION ]; then
|
||||||
git clone --single-branch --branch $GCC_BRANCH $GCC_GIT $GCC_VERSION
|
git clone --single-branch --branch $GCC_BRANCH $GCC_GIT $GCC_VERSION
|
||||||
cd $GCC_VERSION
|
cd $GCC_VERSION
|
||||||
git am $BANAN_TOOLCHAIN_DIR/$GCC_VERSION.patch
|
git apply $BANAN_TOOLCHAIN_DIR/$GCC_VERSION.patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $BANAN_BUILD_DIR/toolchain/$GCC_VERSION
|
cd $BANAN_BUILD_DIR/toolchain/$GCC_VERSION
|
||||||
|
|
Loading…
Reference in New Issue