# Building You can build source code with hb or the **build.sh** script. This section exemplifies how to build source code with hb. For details about how to build with the **build.sh** script, see [Building Source Code Using the build.sh Script](../quick-start/quickstart-standard-reference.md). Go to the root directory of the source code in the Ubuntu environment and perform the following steps: 1. Set the build path. ``` hb set ``` 2. Select the current path. ``` . ``` 3. Select **Hi3516D V300** under **built-in** and press **Enter**. 4. Start building. > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > - To build a component (for example, **hello**), run the **hb build -T _ Target name _** command. > > - To build a product incrementally, run the **hb build** command. > > - To build a product from the scratch, run the **hb build -f** command. > > This example builds a product from the scratch. ``` hb build -f ``` **Figure 1** Hi3516 build settings ![en-us_image_0000001271562433](figures/en-us_image_0000001271562433.png) 5. Check the build result. If "build success" is displayed, the building is successful. > ![icon-notice.gif](public_sys-resources/icon-notice.gif) **NOTICE** > The build result and log files are stored in **out/hispark_taurus**.