Skip to content

Commit c04144a

Browse files
committed
install to fixed prefix
1 parent c5f34ab commit c04144a

2 files changed

Lines changed: 11 additions & 19 deletions

File tree

build-devkit.sh

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,18 @@ fi
7272
. ./select_toolchain.sh
7373

7474
#---------------------------------------------------------------------------------
75-
# Get preferred installation directory and set paths to the sources
75+
# Legacy versions of these scripts allowed the selection of a prefix which is
76+
# no longer supported. Since adopting pacman and providing precompiled binaries
77+
# of "portlibs" everything we distribute is intended to work within opt/devkitpro
78+
#
79+
# Rather than attempting to repackage our work for exotic linux distributions it
80+
# would be much better for everyone concerned if efforts were made to provide
81+
# pacman and whatever support is necessary to allow the binaries we distribute to
82+
# work as expected.
83+
#
84+
# See https://github.com/devkitPro/pacman and https://devkitpro.org/wiki/devkitPro_pacman
7685
#---------------------------------------------------------------------------------
77-
78-
if [ ! -z "$BUILD_DKPRO_INSTALLDIR" ] ; then
79-
INSTALLDIR="$BUILD_DKPRO_INSTALLDIR"
80-
else
81-
echo
82-
echo "Please enter the directory where you would like '$package' to be installed:"
83-
echo "for mingw/msys you must use <drive>:/<install path> or you will have include path problems"
84-
echo "this is the top level directory for devkitpro, i.e. e:/devkitPro"
85-
86-
read -e INSTALLDIR
87-
echo
88-
fi
86+
INSTALLDIR=/opt/devkitpro
8987

9088
[ ! -z "$INSTALLDIR" ] && mkdir -p $INSTALLDIR && touch $INSTALLDIR/nonexistantfile && rm $INSTALLDIR/nonexistantfile || exit 1;
9189

config.sh.sample

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
#---------------------------------------------------------------------------------
1414
BUILD_DKPRO_PACKAGE=0
1515

16-
#---------------------------------------------------------------------------------
17-
# Toolchain installation directory, comment if not specified
18-
#---------------------------------------------------------------------------------
19-
#BUILD_DKPRO_INSTALLDIR=/opt/devkitpro
20-
#BUILD_DKPRO_INSTALLDIR=c:/devkitPro
21-
2216
#---------------------------------------------------------------------------------
2317
# Path to previously downloaded source packages, comment if not specified
2418
#---------------------------------------------------------------------------------

0 commit comments

Comments
 (0)