## Building the Repository (GBS)
-GBS tool should be installed on the system. GBS installation instructions
+GBS tool should be installed on the system. Information about GBS
can be found
-[here](https://source.tizen.org/documentation/developer-guide/getting-started-guide/installing-development-tools).
-For the following commands it is assumed that the correct `.gbs.conf` file
-can be found by utility in the default location.
+[here](https://source.tizen.org/documentation/reference/git-build-system).
+You should use compatible GBS config files to build CoreProfiler for supported
+targets.
Default building configuration is `Release`. You can add
`--define "buildtype Debug"` to `gbs` options to change building
configuration type. Additionally use `--overwrite` flag to rebuild previous
results.
-GBS store resulted RPMs and SRPMs at
+By default GBS store resulted RPMs and SRPMs at
`~/GBS-ROOT/local/repos/<distro>/<arch>` directories.
+Next command examples use `-c` option to specify path to the GBS config file
+suitable for target.
+
### Build for ARM Tizen TM1 target
-```
-~/coreprofiler$ gbs build -P profile.target-TM1.unified -A armv7l
+```console
+~/coreprofiler$ gbs -c ../gbs-config/gbs-tm1.conf build -A armv7l
```
### Build for x86 Tizen emulator
-```
-~/coreprofiler$ gbs build -P profile.emulator32.unified -A i586
+```console
+~/coreprofiler$ gbs -c ../gbs-config/gbs-emul32.conf build -A i586
```
## Configuration