1# Compiling and Building the Linux Kernel
2
3
4 **Example**
5
6The following uses the rk3568 board and Ubuntu x86 server as an example.
7
8
9Perform a full build for the project to generate the kernel image.
10
11
12```bash
13./build.sh --product-name rk3568					# Build the rk3568 image.
14    --gn-args linux_kernel_version="linux-6.6"		# Specify the kernel version, optional parameters.
15													# Note: Currently, Boards are built with Linux-6.6,
16													#       rk3568 has completed the Linux-6.6 kernel adaptation. Thus building Linux-6.6 need not to specify the kernel version, but building Linux-5.10 need.
17													#       Other boards must add this kernel version parameter to build with the Linux-5.10 before the adaptation is completed.
18```
19