android13/external/camera_engine_rkaiq/tools/iq_check/make-x86.sh

22 lines
296 B
Bash
Executable File

#!/bin/bash
if [ ! -d "build/release" ]; then
mkdir -p "build/release"
else
echo "clean"
# rm build/* -r
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX=./release -DISP_HW_VERSION=${ISP_HW_VERSION} ../
make -j4
make install
if [ $? -eq 0 ]; then
echo Build finished!
cd ..
fi