Skip to content

Commit

Permalink
add more requirements for kernel patches
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored Apr 18, 2020
1 parent dbafc66 commit 246e7fa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@
## Description
This 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:

- Existing kernel modules need to be enabled
- Existing kernel modules need to be patched and those patches are available in upstream
- New kernel modules which are common to all platforms
- Platform specific kernel modules which are impossible or very difficul to be built out of kernel tree
- Existing kernel modules need to be enabled.
- Existing kernel modules need to be patched and those patches are available in upstream.
- Please include the original upstream commit id and message in the patch. This allows the maintainer to remove upstream patches during the kernel upgrade.
- New kernel modules which are common to all platforms.
- Platform specific kernel modules which are impossible or very difficul to be built out of kernel tree.

Platform specific kernel modules are expected to develop out-of-tree kernel modules, provide them in debian packages to be embeded into SONiC ONE image and installed on their platforms.

For all patches, please ensure you have run the patch with `checkpatch.pl` and pass it.

Usage:

make DEST=<destination path>

If DEST is not set, package will stay in current directory
If DEST is not set, package will stay in current directory.

0 comments on commit 246e7fa

Please sign in to comment.