mirror of
https://github.com/twisterarmy/twister-cli-installer.git
synced 2025-03-12 21:31:24 +00:00
add ARM configuration mode
This commit is contained in:
parent
003ca73629
commit
cb20dcd4a6
@ -92,6 +92,10 @@ function install() {
|
|||||||
read -rp "Chose twister edition [twisterarmy/miguelfreitas]: " -e EDITION
|
read -rp "Chose twister edition [twisterarmy/miguelfreitas]: " -e EDITION
|
||||||
done
|
done
|
||||||
|
|
||||||
|
until [[ $ARM =~ (y|n) ]]; do
|
||||||
|
read -rp "Configure for ARM? [y/n]: " -e ARM
|
||||||
|
done
|
||||||
|
|
||||||
mkdir ~/.twister
|
mkdir ~/.twister
|
||||||
touch ~/.twister/twister.conf
|
touch ~/.twister/twister.conf
|
||||||
chmod 600 ~/.twister/twister.conf
|
chmod 600 ~/.twister/twister.conf
|
||||||
@ -156,7 +160,13 @@ function install() {
|
|||||||
|
|
||||||
make clean
|
make clean
|
||||||
./autotool.sh
|
./autotool.sh
|
||||||
./configure
|
|
||||||
|
if [[ $ARM == "y" ]]; then
|
||||||
|
./configure --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
|
||||||
|
else
|
||||||
|
./configure
|
||||||
|
fi
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
echo "Installation process completed!"
|
echo "Installation process completed!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user