mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-03 15:54:58 -05:00
add config file for unattended installs
This commit is contained in:
parent
50b033c6df
commit
558d39cdda
|
|
@ -34,6 +34,20 @@ LIBFAT_URL="$DEVKITPRO_URL/$LIBFAT"
|
|||
LIBMIRKO_URL="$DEVKITPRO_URL/$LIBMIRKO"
|
||||
GDB_URL="http://ftp.gnu.org/gnu/gdb/$GDB"
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Look for automated configuration file to bypass prompts
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
echo -n "Looking for configuration file... "
|
||||
if [ -f config.sh ]; then
|
||||
echo "Found."
|
||||
. config.sh
|
||||
else
|
||||
echo "Not found"
|
||||
fi
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Ask whether to download the source packages or not
|
||||
#---------------------------------------------------------------------------------
|
||||
|
|
|
|||
41
config.sh
Normal file
41
config.sh
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#!/bin/sh
|
||||
#---------------------------------------------------------------------------------
|
||||
# variables for unattended script execution
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Select package
|
||||
#---------------------------------------------------------------------------------
|
||||
# 0: User selects manually
|
||||
# 1: devkitARM
|
||||
# 2: devkitPPC
|
||||
# 3: devkitPSP
|
||||
#---------------------------------------------------------------------------------
|
||||
BUILD_DKPRO_PACKAGE=0
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Download source packages
|
||||
#---------------------------------------------------------------------------------
|
||||
# 0: User selects manually
|
||||
# 1: already downloaded
|
||||
# 2: download packages
|
||||
#---------------------------------------------------------------------------------
|
||||
BUILD_DKPRO_DOWNLOAD=0
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Toolchain installation directory, comment if not specified
|
||||
#---------------------------------------------------------------------------------
|
||||
#BUILD_DKPRO_INSTALLDIR=/opt/devkitpro
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Path to previously downloaded source packages, comment if not specified
|
||||
#---------------------------------------------------------------------------------
|
||||
#BUILD_DKPRO_SRCDIR=.
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Automated script execution
|
||||
#---------------------------------------------------------------------------------
|
||||
# 0: Ask to delete build folders & patched sources
|
||||
# 1: Use defaults, don't pause for answers
|
||||
#---------------------------------------------------------------------------------
|
||||
BUILD_DKPRO_AUTOMATED=0
|
||||
Loading…
Reference in New Issue
Block a user