scripts: update build-tools.sh for cmake

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-02-03 03:37:38 +01:00 committed by Liam Girdwood
parent e57b1346db
commit cc16d6d824
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,11 @@
#!/bin/bash
cd tools
./autogen.sh
./configure
mkdir build_tools
cd build_tools
cmake ..
make -j$(nproc)
if [[ "$1" == "-t" ]]; then
make tests -j$(nproc)
fi
cd ../
cd ../../