X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/97b242e088bb0df2146a4595067a3d05a7b9861f..f874ddc976f7d7ba2dd66cda02a75a537f2bcf39:/patch_kernel_config.pl?ds=inline diff --git a/patch_kernel_config.pl b/patch_kernel_config.pl index 947ef8d..617cfc3 100644 --- a/patch_kernel_config.pl +++ b/patch_kernel_config.pl @@ -6,7 +6,7 @@ use warnings FATAL => 'all'; # This was taken from the linux-image-5.16.0-3-arm64-unsigned # Than it was copied as .config in the asahi tree # Than make olddefconfig was executed twice -my @lines = `cat config`; +my @lines = `cat .config`; chomp @lines; my %asahi_options = ( @@ -66,7 +66,16 @@ my %asahi_options = ( 'CONFIG_SND_SOC_CS42L84' => 'm', 'CONFIG_SND_SOC_TAS2780' => 'm', 'CONFIG_USB_XHCI_PCI_ASMEDIA' => 'y', - + 'CONFIG_APPLE_M1_CPU_PMU' => 'y', + 'CONFIG_SND_SOC_CS42L83' => 'm', + 'CONFIG_DRM_APPLE' => 'y', + 'CONFIG_DRM_ASAHI' => 'y', + 'CONFIG_GENERIC_PHY' => 'y', + 'CONFIG_PHY_APPLE_ATC' => 'm', + 'CONFIG_CONSTRUCTORS' => 'y', + 'CONFIG_RUST' => 'y', + 'CONFIG_PWM_APPLE' => 'm', + 'CONFIG_DRM_SIMPLEDRM_BACKLIGHT' => 'y', ); my %debian_options; @@ -89,7 +98,7 @@ for my $o (keys %asahi_options) { } } -open(CONFIG, '>', 'config.new') || die; +open(CONFIG, '>', '.config') || die; for (keys %debian_options) { print CONFIG $_ . '=' . $debian_options{$_} . "\n"; }