2. Go to the root directory of OpenHarmony code and run the following command to access the Docker build environment:
...
...
@@ -212,21 +213,15 @@ hb set
### Building for Standard-System Devices \(reference memory ≥ 128 MB\)<a name="section193711513406"></a>
1. Run the preprocessing script in the root directory of the source code.
```
../scripts/prepare.sh
```
2. Run the following script to start building for standard-system devices \(reference memory ≥ 128 MB\).
Run the following script to start building for standard-system devices \(reference memory ≥ 128 MB\).
```
./build.sh --product-name {product_name}
```
```
./build.sh --product-name {product_name}
```
**product\_name** indicates the platform supported by the current distribution, for example, Hi3516D V300.
**product\_name** indicates the platform supported by the current distribution, for example, Hi3516D V300.
Files generated during building are stored in the **out/ohos-arm-release/** directory, and the generated image is stored in the **out/ohos-arm-release/packages/phone/images/** directory.
Files generated during building are stored in the **out/ohos-arm-release/** directory, and the generated image is stored in the **out/ohos-arm-release/packages/phone/images/** directory.