#!/bin/sh -e
[ -z "$DEBUG" ] || set -x
echo "########## camera-engine-rkaiq-1.0: configure ##########"
cd /home/ych/rk3568/buildroot
(mkdir -p /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/camera-engine-rkaiq-1.0/ && cd /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/camera-engine-rkaiq-1.0/ && rm -f CMakeCache.txt && sed -e 's#@@STAGING_SUBDIR@@#aarch64-buildroot-linux-gnu/sysroot#' -e 's#@@RELOCATED_HOST_DIR@@#/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/share/buildroot/#' -e 's#@@TARGET_CFLAGS@@#-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1#' -e 's#@@TARGET_CXXFLAGS@@#-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1#' -e 's#@@TARGET_FCFLAGS@@#-Os -g0#' -e 's#@@TARGET_LDFLAGS@@##' -e 's#@@TARGET_CC@@#bin/aarch64-buildroot-linux-gnu-gcc#' -e 's#@@TARGET_CXX@@#bin/aarch64-buildroot-linux-gnu-g++#' -e 's#@@TARGET_AR@@#bin/aarch64-buildroot-linux-gnu-ar#' -e 's#@@TARGET_AS@@#bin/aarch64-buildroot-linux-gnu-as#' -e 's#@@TARGET_LD@@#bin/aarch64-buildroot-linux-gnu-ld#' -e 's#@@TARGET_NM@@#bin/aarch64-buildroot-linux-gnu-nm#' -e 's#@@TARGET_RANLIB@@#bin/aarch64-buildroot-linux-gnu-ranlib#' -e 's#@@TARGET_READELF@@#bin/aarch64-buildroot-linux-gnu-readelf#' -e 's#@@TARGET_OBJCOPY@@#bin/aarch64-buildroot-linux-gnu-objcopy#' -e 's#@@TARGET_OBJDUMP@@#bin/aarch64-buildroot-linux-gnu-objdump#' -e 's#@@TARGET_FC@@#bin/aarch64-buildroot-linux-gnu-gfortran#' -e 's#@@CMAKE_SYSTEM_PROCESSOR@@#aarch64#' -e 's#@@TOOLCHAIN_HAS_CXX@@#1#' -e 's#@@TOOLCHAIN_HAS_FORTRAN@@#0#' -e 's#@@CMAKE_BUILD_TYPE@@#Release#' /home/ych/rk3568/buildroot/support/misc/toolchainfile.cmake.in > /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/camera-engine-rkaiq-1.0//toolchainfile.cmake && PATH="/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin:/home/ych/rk3568/buildroot/output/rockchip_rk3568/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /home/ych/rk3568/buildroot/output/rockchip_rk3568/host/bin/cmake /home/ych/rk3568/buildroot/output/rockchip_rk3568/build/camera-engine-rkaiq-1.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/ych/rk3568/buildroot/output/rockchip_rk3568/build/camera-engine-rkaiq-1.0//toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON  -DBUILDROOT_BUILD_PROJECT=TRUE -DARCH="aarch64" -DISP_HW_VERSION=-DISP_HW_V21 -DCMAKE_BUILD_TYPE=MinSizeRel -DRKAIQ_TARGET_SOC=rk356x -DENABLE_RKISP_DEMO=ON )
