From f029ab11c4c3657c6d0610a8a50555b85c422cd1 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 31 Mar 2025 17:49:32 +0200 Subject: [PATCH] Enable NETKIT feature for all armbian-kernels => 6.7 --- lib/functions/compilation/armbian-kernel.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/functions/compilation/armbian-kernel.sh b/lib/functions/compilation/armbian-kernel.sh index bc1a8e431b..36406e9996 100644 --- a/lib/functions/compilation/armbian-kernel.sh +++ b/lib/functions/compilation/armbian-kernel.sh @@ -25,6 +25,15 @@ function armbian_kernel_config__extrawifi_enable_wifi_opts_80211() { fi } +function armbian_kernel_config__netkit() { + if linux-version compare "${KERNEL_MAJOR_MINOR}" ge 6.7; then + if [[ -f .config ]]; then + display_alert "Enable NETKIT=y" "armbian-kernel" "debug" + kernel_config_set_y NETKIT + fi + fi +} + function armbian_kernel_config__disable_various_options() { kernel_config_modifying_hashes+=("CONFIG_MODULE_COMPRESS_NONE=y" "CONFIG_MODULE_SIG=n" "CONFIG_LOCALVERSION_AUTO=n" "EXPERT=y") if [[ -f .config ]]; then