Commit Graph

3 Commits

Author SHA1 Message Date
Ricardo Pardini 2872a0ac85 patching: integrate `b4`-based lore link processing
- give the yaml lore link and prefix in `000.patching.config.yaml`
- if prefix not found in any file in main patch dir, will
  - grab full patch using `b4`
  - write it out with the prefix to main patch dir
  - force a rewrite
- if file with prefix found, it will skip
  - just delete the file to re-do
- prefixes should not ever change, and the full b4-provided slug
  will be appended; respect the "standard" of the patching dir
  by using the correct prefix
2025-05-31 11:16:40 +02:00
Ricardo Pardini 86cfcf304a patching: support 'incremental' Makefile auto-patching, for vendor kernels
- without incremental: true:
  - we replace the DT Makefile based on *.dts at the DT directory after all patching/copying is done
  - overlay target is added if overlays present
- with incremental: true:
  - we parse the Makefile, parse the DTs being built, and only add .dts's we have added from 'dt' directory
  - overlays target are not added; we assume smth else already added them
2024-02-04 11:24:31 +01:00
Ricardo Pardini fe36951c9f patching: auto patchers: bare dts, bare overlays, DT Makefile 2023-06-13 12:29:52 +02:00