Fix build command script
- configure: Add home, binary home option
- build-acl: Fix to build-acl before configure
By this, we can build
"[env-set] ./run build-acl & [env-set] ./run configure & ./run build & ./run install"
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
fi
popd
-mkdir -vp ${INSTALL_ALIAS}/lib
-cp -v ${ACL_FOLDER_BUILD}/libarm_compute_core.so ${INSTALL_ALIAS}/lib/.
-cp -v ${ACL_FOLDER_BUILD}/libarm_compute_graph.so ${INSTALL_ALIAS}/lib/.
-cp -v ${ACL_FOLDER_BUILD}/libarm_compute.so ${INSTALL_ALIAS}/lib/.
+WORK_FOLDER=${TARGET_ARCH_LC}-${TARGET_OS}.${BUILD_TYPE_LC}
+WORK_PATH=${NNFW_PROJECT_PATH}/${WORKSPACE_RPATH}/${WORK_FOLDER}
+INSTALL_PATH=${NNFW_INSTALL_PATH:-${WORK_PATH}/out}
+
+mkdir -vp ${INSTALL_PATH}/lib
+cp -v ${ACL_FOLDER_BUILD}/libarm_compute_core.so ${INSTALL_PATH}/lib/.
+cp -v ${ACL_FOLDER_BUILD}/libarm_compute_graph.so ${INSTALL_PATH}/lib/.
+cp -v ${ACL_FOLDER_BUILD}/libarm_compute.so ${INSTALL_PATH}/lib/.
cd "${BUILD_PATH}"
cmake \
+ -B${BUILD_PATH} -H${NNFW_PROJECT_PATH} \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PATH} \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE_LC} -DTARGET_ARCH=${TARGET_ARCH_LC} \
-DHOST_OS=${HOST_OS} \