diff --git a/dka-scripts/build-gcc.sh b/dka-scripts/build-gcc.sh index 3f2a34a..b0c8bb3 100644 --- a/dka-scripts/build-gcc.sh +++ b/dka-scripts/build-gcc.sh @@ -50,10 +50,11 @@ cd $target/gcc $MAKE all-gcc | tee gcc_make.log 2>&1 $MAKE install-gcc | tee gcc_install.log 2>&1 +cd $BUILDSCRIPTDIR + #--------------------------------------------------------------------------------- # build and install newlib #--------------------------------------------------------------------------------- -cd $BUILDSCRIPTDIR mkdir -p $target/newlib cd $target/newlib @@ -64,6 +65,8 @@ $BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \ $MAKE all | tee newlib_make.log 2>&1 $MAKE install | tee newlib_install.log 2>&1 +cd $BUILDSCRIPTDIR + #--------------------------------------------------------------------------------- # remove temp stuff to conserve disc space #--------------------------------------------------------------------------------- @@ -80,6 +83,8 @@ cd $target/gcc $MAKE | tee gcc_final_make.log 2>&1 $MAKE install | tee gcc_final_install.log 2>&1 +cd $BUILDSCRIPTDIR + #--------------------------------------------------------------------------------- # remove temp stuff to conserve disc space #--------------------------------------------------------------------------------- diff --git a/dkp-scripts/build-gcc.sh b/dkp-scripts/build-gcc.sh index 3d7ce62..1368958 100644 --- a/dkp-scripts/build-gcc.sh +++ b/dkp-scripts/build-gcc.sh @@ -65,6 +65,8 @@ $BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \ $MAKE all | tee newlib_make.log 2>&1 $MAKE install | tee newlib_install.log 2>&1 +cd $BUILDSCRIPTDIR + #--------------------------------------------------------------------------------- # remove temp stuff to conserve disc space #--------------------------------------------------------------------------------- @@ -75,12 +77,13 @@ rm -fr $NEWLIB_SRCDIR # build and install the final compiler #--------------------------------------------------------------------------------- -cd $BUILDSCRIPTDIR cd $target/gcc $MAKE | tee gcc_final_make.log 2>&1 $MAKE install | tee gcc_final_install.log 2>&1 +cd $BUILDSCRIPTDIR + #--------------------------------------------------------------------------------- # remove temp stuff to conserve disc space #---------------------------------------------------------------------------------