mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-21 17:44:41 -05:00
install to fixed prefix
This commit is contained in:
parent
c5f34ab49b
commit
c04144a5cf
|
|
@ -72,20 +72,18 @@ fi
|
|||
. ./select_toolchain.sh
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Get preferred installation directory and set paths to the sources
|
||||
# Legacy versions of these scripts allowed the selection of a prefix which is
|
||||
# no longer supported. Since adopting pacman and providing precompiled binaries
|
||||
# of "portlibs" everything we distribute is intended to work within opt/devkitpro
|
||||
#
|
||||
# Rather than attempting to repackage our work for exotic linux distributions it
|
||||
# would be much better for everyone concerned if efforts were made to provide
|
||||
# pacman and whatever support is necessary to allow the binaries we distribute to
|
||||
# work as expected.
|
||||
#
|
||||
# See https://github.com/devkitPro/pacman and https://devkitpro.org/wiki/devkitPro_pacman
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
if [ ! -z "$BUILD_DKPRO_INSTALLDIR" ] ; then
|
||||
INSTALLDIR="$BUILD_DKPRO_INSTALLDIR"
|
||||
else
|
||||
echo
|
||||
echo "Please enter the directory where you would like '$package' to be installed:"
|
||||
echo "for mingw/msys you must use <drive>:/<install path> or you will have include path problems"
|
||||
echo "this is the top level directory for devkitpro, i.e. e:/devkitPro"
|
||||
|
||||
read -e INSTALLDIR
|
||||
echo
|
||||
fi
|
||||
INSTALLDIR=/opt/devkitpro
|
||||
|
||||
[ ! -z "$INSTALLDIR" ] && mkdir -p $INSTALLDIR && touch $INSTALLDIR/nonexistantfile && rm $INSTALLDIR/nonexistantfile || exit 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,6 @@
|
|||
#---------------------------------------------------------------------------------
|
||||
BUILD_DKPRO_PACKAGE=0
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Toolchain installation directory, comment if not specified
|
||||
#---------------------------------------------------------------------------------
|
||||
#BUILD_DKPRO_INSTALLDIR=/opt/devkitpro
|
||||
#BUILD_DKPRO_INSTALLDIR=c:/devkitPro
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Path to previously downloaded source packages, comment if not specified
|
||||
#---------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user