mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-06-23 21:09:55 -05:00
actually build extra tools
This commit is contained in:
parent
5e5c9fea87
commit
de76c68af9
20
dka64/scripts/build-tools.sh
Executable file
20
dka64/scripts/build-tools.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
cd $BUILDDIR
|
||||
|
||||
for archive in $hostarchives
|
||||
do
|
||||
dir=$(echo $archive | sed -e 's/\(.*\)\.tar\.bz2/\1/' )
|
||||
cd $BUILDDIR/$dir
|
||||
if [ ! -f configured ]; then
|
||||
CXXFLAGS=$cflags CFLAGS=$cflags LDFLAGS=$ldflags ./configure --prefix=$prefix --disable-dependency-tracking $CROSS_PARAMS || { echo "error configuring $archive"; exit 1; }
|
||||
touch configured
|
||||
fi
|
||||
if [ ! -f built ]; then
|
||||
$MAKE || { echo "error building $dir"; exit 1; }
|
||||
touch built
|
||||
fi
|
||||
if [ ! -f installed ]; then
|
||||
$MAKE install || { echo "error installing $dir"; exit 1; }
|
||||
touch installed
|
||||
fi
|
||||
done
|
||||
Loading…
Reference in New Issue
Block a user