From 44922ce2b853c52fd5874a09c70ebbb20cd90ba2 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 21 Nov 2024 05:59:57 +0100 Subject: [PATCH] Add rewrite-kernel-patches Closing https://github.com/armbian/documentation/issues/431 --- docs/Developer-Guide_Build-Commands.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/Developer-Guide_Build-Commands.md b/docs/Developer-Guide_Build-Commands.md index 667ec4bc..563b7a55 100644 --- a/docs/Developer-Guide_Build-Commands.md +++ b/docs/Developer-Guide_Build-Commands.md @@ -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 -``` \ No newline at end of file +```