config: # This is file 'patch/kernel/spacemit-legacy-6.1/0000.patching_config.yaml' # PATCH NUMBERING INFO # # Patches should be ordered in such a way that general kernel patches are applied first, then SoC-related patches and at last board-specific patches # # Patch numbers in this folder are sorted by category: # # 000* for general patches # 0** for Bianbu-Linux-related patches # 1** for other SoC-related patches # 5** for board specific patches # Just some info stuff; not used by the patching scripts name: spacemit-6.1 kind: kernel type: vendor # or: vendor branch: linux-6.1.y last-known-good-tag: v6.1.15 maintainers: - { github: none, name: none, email: none, armbian-forum: none } # .dts files in these directories will be copied as-is to the build tree; later ones overwrite earlier ones. # This is meant to provide a way to "add a board DTS" without having to null-patch them in. dts-directories: - { source: "dt", target: "arch/riscv/boot/dts/spacemit" } # Every file in these directories will be copied as-is to the build tree; later ones overwrite earlier ones # This is meant as a way to have overlays, bare, in a directory, without having to null-patch them in. # @TODO need a solution to auto-Makefile the overlays as well overlay-directories: - { source: "overlay", target: "arch/riscv/boot/dts/spacemit/overlay" } # The Makefile in each of these directories will be magically patched to include the dts files copied # or patched-in; overlay subdir will be included "-y" if it exists. # No more Makefile patching needed, yay! auto-patch-dt-makefile: - { directory: "arch/riscv/boot/dts/spacemit", config-var: "CONFIG_SOC_SPACEMIT_K1X" } # Configuration for when applying patches to git / auto-rewriting patches (development cycle helpers) patches-to-git: do-not-commit-files: - "MAINTAINERS" # constant churn, drop them. sorry. do-not-commit-regexes: # Python-style regexes - "^arch/([a-zA-Z0-9]+)/boot/dts/([a-zA-Z0-9]+)/Makefile$" # ignore DT Makefile patches, we've an auto-patcher now