Fix indentation of build_android_rootfs script (#1587)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 7 Jun 2018 04:33:22 +0000 (13:33 +0900)
committer이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Thu, 7 Jun 2018 04:33:22 +0000 (13:33 +0900)
This will fix indentation of build_android_rootfs script from previous change

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
tools/cross/build_android_rootfs.sh

index b4fd194..d0b4afd 100755 (executable)
@@ -99,17 +99,16 @@ tar xzf $__ToolchainDir/$BOOST_BASENAME.tar.gz -C $__ToolchainDir
 cp -rv $__ToolchainDir/$BOOST_BASENAME/boost $__RootfsDir/sysroot/usr/include
 
 if [[ "$__ACL" == 1 ]]; then
-# TODO add indentation
-echo "Installing arm compute library"
-
-ACL_VERSION=18.03
-ACL_BASENAME=arm_compute-v$ACL_VERSION-bin-android
-wget -nv -nc https://github.com/ARM-software/ComputeLibrary/releases/download/v$ACL_VERSION/$ACL_BASENAME.tar.gz -O $__ToolchainDir/$ACL_BASENAME.tar.gz
-
-tar xzf $__ToolchainDir/$ACL_BASENAME.tar.gz -C $__ToolchainDir
-cp -rv $__ToolchainDir/$ACL_BASENAME/arm_compute $__RootfsDir/sysroot/usr/include
-cp -rv $__ToolchainDir/$ACL_BASENAME/include/* $__RootfsDir/sysroot/usr/include
-cp -rv $__ToolchainDir/$ACL_BASENAME/support $__RootfsDir/sysroot/usr/include
-cp -rv $__ToolchainDir/$ACL_BASENAME/util $__RootfsDir/sysroot/usr/include
-cp -rv $__ToolchainDir/$ACL_BASENAME/lib/android-arm64-v8a-cl/* $__RootfsDir/sysroot/usr/lib # TODO hardcoded path "arm64-v8a"
+    echo "Installing arm compute library"
+
+    ACL_VERSION=18.03
+    ACL_BASENAME=arm_compute-v$ACL_VERSION-bin-android
+    wget -nv -nc https://github.com/ARM-software/ComputeLibrary/releases/download/v$ACL_VERSION/$ACL_BASENAME.tar.gz -O $__ToolchainDir/$ACL_BASENAME.tar.gz
+
+    tar xzf $__ToolchainDir/$ACL_BASENAME.tar.gz -C $__ToolchainDir
+    cp -rv $__ToolchainDir/$ACL_BASENAME/arm_compute $__RootfsDir/sysroot/usr/include
+    cp -rv $__ToolchainDir/$ACL_BASENAME/include/* $__RootfsDir/sysroot/usr/include
+    cp -rv $__ToolchainDir/$ACL_BASENAME/support $__RootfsDir/sysroot/usr/include
+    cp -rv $__ToolchainDir/$ACL_BASENAME/util $__RootfsDir/sysroot/usr/include
+    cp -rv $__ToolchainDir/$ACL_BASENAME/lib/android-arm64-v8a-cl/* $__RootfsDir/sysroot/usr/lib # TODO hardcoded path "arm64-v8a"
 fi