From 023053ae73c1d5fb2f7bc5aab984b4c06e286ae4 Mon Sep 17 00:00:00 2001 From: Hosung Kim Date: Wed, 20 Mar 2024 14:33:58 +0900 Subject: [PATCH] doc: add additional build doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hosung Kim hs852.kim@samsung.com --- docs/Build.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/Build.md b/docs/Build.md index 15d9e0c149..0cd4b7a7de 100644 --- a/docs/Build.md +++ b/docs/Build.md @@ -72,3 +72,27 @@ If you are checking out `lwnode` from the GitHub repo (which includes submodules ```sh $ gbs -c .github/gbs.conf build -A arm7l --include-all --incremental ``` + +#### Build Options +Use option with `--define ' '`. + +For example, If you want to build to static type, +```sh +$ gbs -c .github/gbs.conf build -A arm7l --include-all --incremental --define 'lib_type static' +``` + +Options list: +`lib_type` : shared(default)|static + +### 4.3. build lwnode module +We provide several modules. To build them, use the command below. + +```sh +$ gbs -c .github/gbs.conf build -A arm7l --packaging-dir modules/packages/packaging --include-all --incremental +``` + +You can find build result file in `out/modules/tizen`. + +Modules lists: +[device-api](modules/packages/device-api/README.md) +[gamain-loop](modules/packages/gamain-loop/README.md)