mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-21 17:44:41 -05:00
optionally download gcc prerequisites
This commit is contained in:
parent
ae56dba8d0
commit
f1d8ff0e21
|
|
@ -224,7 +224,14 @@ mkdir -p $BUILDDIR
|
|||
cd $BUILDDIR
|
||||
|
||||
extract_and_patch binutils $BINUTILS_VER xz
|
||||
|
||||
extract_and_patch gcc $GCC_VER xz
|
||||
if [ "$GCC_DOWNLOAD_PREREQS" != "0" ] && [ ! -f downloaded_prereqs ]; then
|
||||
cd gcc-${GCC_VER}
|
||||
./contrib/download_prerequisites && touch downloaded_prereqs
|
||||
cd ..
|
||||
fi
|
||||
|
||||
extract_and_patch newlib $NEWLIB_VER gz
|
||||
|
||||
if [ $VERSION -eq 2 ]; then extract_and_patch binutils $MN_BINUTILS_VER bz2; fi
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ BUILD_DKPRO_PACKAGE=0
|
|||
#---------------------------------------------------------------------------------
|
||||
#BUILD_DKPRO_SKIP_CRTLS=1
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Automated script execution
|
||||
#---------------------------------------------------------------------------------
|
||||
# 0: Ask to delete build folders & patched sources
|
||||
|
|
@ -36,6 +37,14 @@ BUILD_DKPRO_PACKAGE=0
|
|||
#---------------------------------------------------------------------------------
|
||||
BUILD_DKPRO_AUTOMATED=0
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Download prerequisites before building gcc
|
||||
#---------------------------------------------------------------------------------
|
||||
# 0: use pre-compiled prereqs
|
||||
# 1: run included download script
|
||||
#---------------------------------------------------------------------------------
|
||||
GCC_DOWNLOAD_PREREQS=0
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# set OSX SDK path if needed
|
||||
#---------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user