mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-06-20 19:41:36 -05:00
use separate binutils version for mn10200
This commit is contained in:
parent
b4cc3ab98f
commit
4e38d36c72
|
|
@ -200,6 +200,8 @@ if [ $VERSION -eq 2 ]; then
|
|||
targetarchives="libogc-src-${LIBOGC_VER}.tar.bz2 libfat-src-${LIBFAT_VER}.tar.bz2"
|
||||
|
||||
hostarchives="gamecube-tools-$GAMECUBE_TOOLS_VER.tar.bz2 wiiload-$WIILOAD_VER.tar.bz2 general-tools-$GENERAL_TOOLS_VER.tar.bz2"
|
||||
|
||||
archives="binutils-${MN_BINUTILS_VER}.tar.bz2 $archives"
|
||||
fi
|
||||
|
||||
if [ $VERSION -eq 3 ]; then
|
||||
|
|
@ -233,6 +235,10 @@ rm -fr gcc-$GCC_VER/zlib
|
|||
extract_and_patch newlib $NEWLIB_VER gz
|
||||
extract_and_patch gdb $GDB_VER bz2
|
||||
|
||||
if [ $VERSION -eq 2 ]; then
|
||||
extract_and_patch binutils $MN_BINUTILS_VER bz2
|
||||
fi
|
||||
|
||||
for archive in $targetarchives
|
||||
do
|
||||
destdir=$(echo $archive | sed -e 's/\(.*\)-src-\(.*\)\.tar\.bz2/\1-\2/' )
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ cd mn10200/binutils
|
|||
|
||||
if [ ! -f configured-binutils ]
|
||||
then
|
||||
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils-$BINUTILS_VER/configure \
|
||||
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils-$MN_BINUTILS_VER/configure \
|
||||
--prefix=$prefix --target=mn10200 --disable-nls --disable-debug \
|
||||
--disable-werror $CROSS_PARAMS \
|
||||
|| { echo "Error configuing mn10200 binutils"; exit 1; }
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ case "$VERSION" in
|
|||
"2" )
|
||||
GCC_VER=6.3.0
|
||||
BINUTILS_VER=2.27
|
||||
MN_BINUTILS_VER=2.15a
|
||||
NEWLIB_VER=2.5.0
|
||||
GDB_VER=7.11
|
||||
basedir='dkppc'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user