mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-10-01 22:06:44 -05:00
updated build process for newlib 1.13.0
adjusted install for rules & install targets in makefiles
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
BINUTILS_VER=2.15
|
BINUTILS_VER=2.15
|
||||||
GCC_VER=3.4.3
|
GCC_VER=3.4.3
|
||||||
NEWLIB_VER=1.12.0
|
NEWLIB_VER=1.13.0
|
||||||
LIBOGC_VER=20050419
|
LIBOGC_VER=20050419
|
||||||
|
|
||||||
BINUTILS="binutils-$BINUTILS_VER.tar.bz2"
|
BINUTILS="binutils-$BINUTILS_VER.tar.bz2"
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ $MAKE CRT=ds_cart
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# copy base rulesets
|
# copy base rulesets
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
cp dka-rules/* $prefix
|
cd $BUILDSCRIPTDIR
|
||||||
|
cp dka-rules/* $DEVKITARM
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ cd $target/newlib
|
|||||||
|
|
||||||
$BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \
|
$BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \
|
||||||
--prefix=$prefix \
|
--prefix=$prefix \
|
||||||
|
--enable-serial-configure \
|
||||||
|
--enable-newlib-mb \
|
||||||
| tee newlib_configure.log 2>&1
|
| tee newlib_configure.log 2>&1
|
||||||
|
|
||||||
$MAKE all | tee newlib_make.log 2>&1
|
$MAKE all | tee newlib_make.log 2>&1
|
||||||
|
|||||||
@@ -20,13 +20,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$MAKE -C tools/gba
|
$MAKE -C tools/gba
|
||||||
cp tools/gba/gbafix$exeext $prefix/bin/gbafix$exeext
|
$MAKE -C tools/gba install PREFIX=$prefix/bin
|
||||||
cp tools/gba/gbalzss$exeext $prefix/bin/gbalzss$exeext
|
|
||||||
|
$MAKE -C tools/general
|
||||||
|
$MAKE -C tools/general install PREFIX=$prefix/bin
|
||||||
|
|
||||||
$MAKE -C tools/nds/ndstool
|
$MAKE -C tools/nds/ndstool
|
||||||
|
$MAKE -C tools/nds/ndstool install PREFIX=$prefix/bin
|
||||||
$MAKE -C tools/nds/dsbuild
|
$MAKE -C tools/nds/dsbuild
|
||||||
cp tools/nds/ndstool/ndstool$exeext $prefix/bin/ndstool$exeext
|
$MAKE -C tools/nds/dsbuild install PREFIX=$prefix/bin
|
||||||
cp tools/nds/dsbuild/dsbuild$exeext $prefix/bin/dsbuild$exeext
|
|
||||||
|
|
||||||
cp tools/general/alignbin $prefix/bin/alignbin
|
cp tools/general/alignbin $prefix/bin/alignbin
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ $MAKE install
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# copy base rulesets
|
# copy base rulesets
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
cp dkp-rules/* $prefix
|
cd $BUILDSCRIPTDIR
|
||||||
|
cp dkp-rules/* $DEVKITPPC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ cd $target/newlib
|
|||||||
|
|
||||||
$BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \
|
$BUILDSCRIPTDIR/$NEWLIB_SRCDIR/configure --target=$target \
|
||||||
--prefix=$prefix \
|
--prefix=$prefix \
|
||||||
|
--enable-serial-configure \
|
||||||
|
--enable-newlib-mb \
|
||||||
| tee newlib_configure.log 2>&1
|
| tee newlib_configure.log 2>&1
|
||||||
|
|
||||||
$MAKE all | tee newlib_make.log 2>&1
|
$MAKE all | tee newlib_make.log 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user