diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2023-11-28 09:25:22 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2023-11-28 09:25:22 +0100 |
commit | 6229f58d19ef9e8c060cc9d9974ef6fcf1bcb528 (patch) | |
tree | 5d375a5d3b74c7b8320cd0bde47d2947a3446a9b /TOOLS | |
parent | 6d1c932b1ab6892c861ea92d93914a175e187b08 (diff) | |
download | kernel-fsync-6229f58d19ef9e8c060cc9d9974ef6fcf1bcb528.tar.gz kernel-fsync-6229f58d19ef9e8c060cc9d9974ef6fcf1bcb528.zip |
kernel 6.6.2
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/patch_configs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TOOLS/patch_configs.py b/TOOLS/patch_configs.py index 722a756..01ab97d 100755 --- a/TOOLS/patch_configs.py +++ b/TOOLS/patch_configs.py @@ -17,6 +17,7 @@ GENERIC_PATCHES = [ ["FB_EFI", UNSET, ENABLE], ["FB_VESA", UNSET, ENABLE], ["ACPI_EC_DEBUGFS", UNSET, MODULE], + ["WINESYNC", None, ENABLE], # device specific config # Microsoft Surface @@ -43,6 +44,7 @@ ARCH_PATCHES = { ["USB_DWC3_DUAL_ROLE", None, ENABLE], ["USB_DWC3_PCI", None, MODULE], ["USB_DWC3_HAPS", None, MODULE], + ["USB_DWC3_HOST", ENABLE, UNSET, "fedora"], ["USB_DWC2", None, MODULE], ["USB_DWC2_DUAL_ROLE", None, ENABLE], ["USB_DWC2_PCI", None, MODULE], @@ -100,7 +102,6 @@ def apply_patches(data: str, patches, flags = None) -> str: u = f"# {c} " if len(val) == 3 and val[2] not in flags: - print(f" Skipping {name}") continue if any(x in data for x in [s, u]): @@ -173,6 +174,8 @@ for file in CONFIG_FILES: arch = namesegs.pop(0) flavor = namesegs.pop(-1) flags = namesegs + + flags.append(flavor) if "debug" not in flags: flags.append("release") |