kernel-standard-build.md 632 字节
Newer Older
A
annie_wangli 已提交
1
# Compiling and Building the Linux Kernel<a name="EN-US_TOPIC_0000001076416924"></a>
M
mamingshuai 已提交
2

D
duangavin123 已提交
3
-   [Example 1](#section19369206113115)
M
mamingshuai 已提交
4

D
duangavin123 已提交
5 6 7 8 9
## Example 1<a name="section19369206113115"></a>

The following uses the Hi3516D V300 board and Ubuntu x86 server as an example.

Perform a full build for the project to generate the  **uImage**  kernel image.
M
mamingshuai 已提交
10 11

```
A
annie_wangli 已提交
12
./build.sh --product-name Hi3516DV300              # Build the Hi3516D V300 image.
D
duangavin123 已提交
13 14
        --build-target build_kernel                    # Build the uImage kernel image of the Hi3516D V300 board.
    --gn-args linux_kernel_version=\"linux-5.10\" # Build the specified kernel version.
M
mamingshuai 已提交
15
```
D
duangavin123 已提交
16