summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-28 18:24:15 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-29 11:15:12 +0200
commite639fc41adbd3dde2bd8a2be746c772171fa1b9d (patch)
treeafef9b418e42e58730a64eeb57579a3c52a2055f
parenteced1a9d7b08d419c5ac325053077731e24464b6 (diff)
Update README instructions.
Adding git submodules instructions before building. Change-Id: I8b1aa09e5ca69c0e2a7e8acbf6d80593a5fc0f22 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--CAN-binder/README.md46
-rw-r--r--README.md2
2 files changed, 47 insertions, 1 deletions
diff --git a/CAN-binder/README.md b/CAN-binder/README.md
new file mode 100644
index 00000000..e5146589
--- /dev/null
+++ b/CAN-binder/README.md
@@ -0,0 +1,46 @@
+Short instructions to build CAN-binder project
+=================================
+
+Prerequisites
+----------------
+
+Here are the prerequisite to build the project:
+
+- CMake >= 3.3
+- g++ >= 4.9
+- AGL Application framework binder
+- NodeJS >= 6, to build html5 demo UI.
+
+Build instructions
+----------------------
+
+You can use the helper script `build.mk` to build the project :
+
+```bash
+# Cleaning existing build dir
+./build.mk mrproper
+# Only build the binding
+./build.mk build
+# Package the binding and the demo UI. Will need NodeJS >= v6
+./build.mk package
+```
+
+Or using the CMake way:
+
+```bash
+# Get some help to build stuff
+git submodule init
+git submodule update
+# And go to build it
+mkdir build
+cd build
+cmake ..
+# Only build
+make
+# Build and package tree filled
+make populate
+# Build and generate a Widget file
+make widget
+```
+
+The project is built in `build` directory, `package` directory will holds the _wgt_ file generated, this is used by Yocto buildsystem to include an AGL application cleanly in an AGL image. `conf.d/packaging` will contains widget configuration file. \ No newline at end of file
diff --git a/README.md b/README.md
index a608363b..1629ffbc 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Just use build.sh script:
./build.sh
```
-This will build both projects under build directory for each of them.
+This will build both projects under build directory for each of them with default configuration.
# Generate documentation