From edaae531867df9c0d05bac38c779f2083cb9404e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=82=A8=EA=B6=81=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Mon, 2 Jul 2018 11:26:44 +0900 Subject: [PATCH] Updates for cross build using docker (#1807) Modify some sentences Add method about cross build using docker with ACL build Remove method for cross build using docker without ACL build (We don't use method without ACL build anymore) --- docs/howto/HowToUseDockerImage.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/howto/HowToUseDockerImage.md b/docs/howto/HowToUseDockerImage.md index 08cfe02..86783ce 100644 --- a/docs/howto/HowToUseDockerImage.md +++ b/docs/howto/HowToUseDockerImage.md @@ -103,7 +103,7 @@ $ docker tag docker.sec.samsung.net:5000/star/nnfw/nnfw_docker_tizen:1.2 nnfw_do ``` ## Use docker image to build `nnfw` -There are two ways to build `nnfw` using docker image. +Three different targets for `nnfw` can be built using docker image. 1. Build `nnfw` for `x86_64` target ``` @@ -118,9 +118,12 @@ $ ./run docker_run_test.sh You can find built artifacts at `nnfw/Product/x86_64-linux.debug`. 2. Cross build `nnfw` for ARM on x86_64 host + +You should prepare RootFS, following [Cross Building for ARM](https://github.sec.samsung.net/STAR/nnfw/blob/master/docs/howto/CrossBuildForArm.md) except ACL build and cross build steps. Then execute below commands. If your RootFS directory is different with below directory, change it to correct path and ensure the path is absolute. ``` $ cd nnfw -$ ./run docker_build_cross_arm_ubuntu_without_aclbuild.sh +$ ROOTFS_DIR=$(pwd)/tools/cross/rootfs/arm \ +./run docker_build_cross_arm_ubuntu.sh ``` You can find built artifacts at `nnfw/Product/armv7l-linux.debug/`. -- 2.7.4