Build ACL in svace build (#1947)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 11 Jul 2018 23:49:02 +0000 (08:49 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 11 Jul 2018 23:49:02 +0000 (08:49 +0900)
Build ACL instead of using external ACL in svace build

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
scripts/command/docker_build_ubuntu_svace.sh

index 1c35de8..e1883ca 100755 (executable)
@@ -32,12 +32,6 @@ fi
 
 pushd $HOST_HOME
 
-# prepare armcl library
-if [[ ! -d $ARMCL_DIR ]]; then
-  echo "cannot find armcl"
-  exit 1
-fi
-
 # prepare rootfs
 if [[ ! -d $ROOTFS_DIR ]]; then
   echo "cannot find rootfs"
@@ -52,7 +46,6 @@ fi
 
 DOCKER_VOLUMES+=" -v $SVACE_ANALYZER_DIR:/opt/svace-analyzer"
 DOCKER_VOLUMES+=" -v $ROOTFS_DIR:/opt/rootfs"
-DOCKER_VOLUMES+=" -v $ARMCL_DIR:/opt/libarmcl"
 
 # Change .gitmodules to work around the permission issue
 CMD_SUBMODULE="./scripts/command/change_gitmodule.sh"
@@ -62,7 +55,7 @@ if [ -n "$DOCKER_INTERACTIVE" ]; then
   DOCKER_RUN_OPTS+=" -it"
   CMD="/bin/bash"
 else
-  CMD="make external_acl tflite && /opt/svace-analyzer/bin/svace init && /opt/svace-analyzer/bin/svace build make runtime testbuild"
+  CMD="make acl tflite && /opt/svace-analyzer/bin/svace init && /opt/svace-analyzer/bin/svace build make runtime testbuild"
 fi
 
 docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME sh -c "$CMD"