Merge pull request #906 from jajanusz/rm-rimage-build

scripts: remove rimage-build.sh
This commit is contained in:
Marcin Maka 2019-01-29 12:10:14 +01:00 committed by GitHub
commit 33e7cd3178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 28 deletions

View File

@ -1,28 +0,0 @@
#!/bin/bash
./autogen.sh
pwd=`pwd`
# parse the args
for args in $@
do
if [[ "$args" == "-l" ]]
then
BUILD_LOCAL=1
fi
done
# make sure rimage is built and aligned with code
if [[ "x$BUILD_LOCAL" == "x" ]]
then
./configure --enable-rimage
make
sudo make install
else
echo "BUILD in local folder!"
rm -rf $pwd/local/
./configure --enable-rimage --prefix=$pwd/local
make
make install
fi