$ scons TARGET_OS=tizen TARGET_TRANSPORT=ALL -c (for clean)
(we provide the spec file required by gbs tool at toools/tizen directory.
-gbs is default build tool for Tizen platfrom, we can refer the following
+gbs is default build tool for Tizen platform, we can refer the following
wiki to setup Tizen development environment:
https://source.tizen.org/documentation/developer-guide/getting-started-guide)
==== The content of a typical script ====
-After run the scripts in build_common (usally it's done at the beginning of
+After run the scripts in build_common (usually it's done at the beginning of
SConstruct), an global environment 'env' is exported, 'env' has include the
default configuration of the target OS and arch. 'env' is used in all projects,
should avoid to change its keys. To avoid change 'env', usually clone 'env' and
target(usually binary) to build.
Below is an example:
- # import the global enviroment 'env'
+ # import the global environment 'env'
Import('env')
- # Clone a new enviroment from 'env'
+ # Clone a new environment from 'env'
new_env = env.Clone()
- # Update the new enviroment, usally include add header file paths,
+ # Update the new environment, usually include add header file paths,
# library path, libs to link and other compiler flags. This part is
# optional.
new_env.AppeneUnique(xxx = [ .... ])