summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@arm.com>2016-10-12 18:07:26 +0100
committerJuri Lelli <juri.lelli@arm.com>2016-11-17 10:03:02 +0000
commit680bdad2b070b75f78c7a458f750ff4d24991eb9 (patch)
treea34e9a1f6be5778392af6b2b7830f314f8865adb /doc
parentfa353e15a8b01196a8aee3a7e909004862a20f6f (diff)
doc: clarify example for config step
Add detailed example for static cross-compile of rt-app. Signed-off-by: Juri Lelli <juri.lelli@arm.com> Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/tutorial.txt b/doc/tutorial.txt
index 100a2df..78cd1fe 100644
--- a/doc/tutorial.txt
+++ b/doc/tutorial.txt
@@ -43,6 +43,31 @@ export ac_cv_lib_json_c_json_object_from_file=yes
./configure --host=aarch64-linux-gnu LDFLAGS=" --static -L<path to parent of json repo>/json-c/. libs/" CFLAGS="-I<path to parent of json repo>" --with-deadline
make
+e.g, with a directory structure like the following:
+
+$ tree -d
+.
+├── autom4te.cache
+├── build
+├── build-aux
+├── doc
+│   └── examples
+│   ├── cpufreq_governor_efficiency
+│   ├── merge
+│   └── tutorial
+├── json-c
+│   ├── autom4te.cache
+│   ├── doc
+│   │   └── html
+│   └── tests
+├── libdl
+├── m4
+└── src
+
+the configure step becomes
+
+./configure --host=aarch64-linux-gnu LDFLAGS="--static -L./../json-c/." CFLAGS="-I./.." --with-deadline
+
**** json file skeleton ****
The json file that describes a workload is made on 3 main objects: tasks,