Add rewrite-kernel-patches

Closing https://github.com/armbian/documentation/issues/431
This commit is contained in:
Igor
2024-11-21 05:59:57 +01:00
parent ca3df1892c
commit 44922ce2b8

View File

@@ -65,6 +65,16 @@ Usage:
./compile.sh rewrite-uboot-patches BOARD=xxxx BRANCH=edge
```
### rewrite-kernel-patches
Prepares git, applies patches to git, and rewrites them back from git
same as kernel, it does git archeology for mbox-less patches, etc.
Usage:
```bash
./compile.sh rewrite-kernel-patches BOARD=xxxx BRANCH=edge
```
### targets
Generates output/info/git_sources.json file containing URL, branch, and commit hash combo.
@@ -74,4 +84,4 @@ The easiest way to generate file for all devices is to run `./compile.sh targets
Usage:
```bash
./compile.sh targets
```
```