Make script/config directory and move configuration files for script into script/config
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
#!/bin/bash
# NOTE 'run' sets NNFW_SCRIPT_PATH and invokes this script
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
if [[ ! -d "${BUILD_ALIAS}" ]]; then
echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first"
#!/bin/bash
# NOTE 'run' sets NNFW_SCRIPT_PATH and invokes this script
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
# Set parallel build
# TODO: use argument instead of environment variable and merge with build command
shift
done
-source "$NNFW_SCRIPT_PATH/image_name.configuration"
+source "$NNFW_SCRIPT_PATH/config/image_name.configuration"
docker build --build-arg http_proxy="$http_proxy" \
--build-arg https_proxy="$https_proxy" \
#!/bin/bash
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
# Set target platform using environment variable
# TODO: use argument instead of environment variable
#!/bin/bash
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME "$@"
EXITCODE=$?
#!/bin/bash
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
DOCKER_RUN_OPTS+=" -u $(id -u):$(id -g)"
#!/bin/bash
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
DOCKER_RUN_OPTS+=" -it"
docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME "/bin/bash"
pushd $NNFW_PROJECT_PATH
-CMD="gbs -c ${NNFW_PROJECT_PATH}/scripts/command/gbs.conf build -A armv7l --profile=profile.tizen --clean --include-all --define '${GBS_DEFINE}' &&
+CMD="gbs -c ${NNFW_PROJECT_PATH}/scripts/config/gbs.conf build -A armv7l --profile=profile.tizen --clean --include-all --define '${GBS_DEFINE}' &&
cp -rf /home/GBS-ROOT/local/repos/tizen/armv7l/RPMS/*.rpm ${DOCKER_RPM_HOME}/."
source run docker-run bash -c "${CMD}"
EXITCODE=$?
#!/bin/bash
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
if [[ ! -d "${BUILD_ALIAS}" ]]; then
echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first"
#!/bin/bash
-source "$NNFW_SCRIPT_PATH/image_name.configuration"
+source "$NNFW_SCRIPT_PATH/config/image_name.configuration"
echo "Using docker image $DOCKER_IMAGE_NAME"