Update ACL cross build guide (#2804)
author이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Mon, 1 Oct 2018 06:20:44 +0000 (15:20 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 1 Oct 2018 06:20:44 +0000 (15:20 +0900)
Related Issue: #2795, #2783

ACL build requires `CROSS_BUILD=1`.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
docs/howto/CrossBuildForAarch64.md
docs/howto/CrossBuildForArm.md

index e400a95..f3dc552 100644 (file)
@@ -60,7 +60,7 @@ sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
 
 Build and install ARM Compute Library
 ```
-TARGET_ARCH=aarch64 make acl
+CROSS_BUILD=1 TARGET_ARCH=aarch64 make acl
 ```
 Mostly you only need once of ACL build. This will build and install to
 `Product/(target_arch-os)/out/bin` folder.
index 38e544b..ebba7ec 100644 (file)
@@ -79,7 +79,7 @@ Then, copy `libstdc++.so.6.0.24` into `/usr/lib/arm-linux-gnueabihf`, and update
 ## Build and install ARM Compute Library
 
 ```
-TARGET_ARCH=armv7l make acl
+CROSS_BUILD=1 TARGET_ARCH=armv7l make acl
 ```
 Mostly you only need once of ACL build. This will build and install to `Product/(target_arch-os)/out/bin` folder.
 - this is required for ARM on Ubuntu