开源软件名称(OpenSource Name):sonic-net/sonic-linux-kernel开源软件地址(OpenSource Url):https://github.com/sonic-net/sonic-linux-kernel开源编程语言(OpenSource Language):Makefile 54.3%开源软件介绍(OpenSource Introduction):SONiC - KernelDescriptionThis repository contains the scripts and patches to build the kernel for SONiC. SONiC uses the same kernel for all platforms. We prefer to out-of-tree kernel platform modules. We accept kernel patches on following conditions:
Platform specific kernel modules are expected to develop out-of-tree kernel modules, provide them in debian packages to be embedded into SONiC ONE image and installed on their platforms. For all patches, please ensure you have run the patch with Usage:
If DEST is not set, package will stay in current directory. Kernel Configuration ChangesThe Debian kernel used with SONiC includes almost all available hardware that can be found on a system using Linux. This increases considerably the time needed to build the kernel Debian image. Since there are many drivers, protocols or filesystems which will never be used on a switch, there is a simple mechanism to remove kernel options which does not require creating a kernel configuration patch. The options which need to be excluded from the kernel are simply listed in a flat text file: patch/kconfig-exclusions Example:
Similarly, there is a mechanism to include some kernel options by listing these options into the flat text file: patch/kconfig-inclusions Example:
If the files patch/kconfig-exclusions and patch/kconfig-inclusions exist, they will be processed after all the kernel patches described in the patch directory have been applied, exclusions being done before inclusions. Also, the final kernel configuration will be checked to verify that:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论