From 95f6f1da7de1030d4cf1e2aef6d03ddfe9b57582 Mon Sep 17 00:00:00 2001
From: Tk-Glitch <ti3nou@gmail.com>
Date: Sat, 10 Oct 2020 22:02:32 +0200
Subject: [PATCH] linux58-tkg: Append I2C_NCT6775=m entry to config to skip
 optional openrgb patch prompt

---
 linux58-tkg/linux58-tkg-config/prepare | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/linux58-tkg/linux58-tkg-config/prepare b/linux58-tkg/linux58-tkg-config/prepare
index f76d11b..a74877e 100644
--- a/linux58-tkg/linux58-tkg-config/prepare
+++ b/linux58-tkg/linux58-tkg-config/prepare
@@ -251,6 +251,11 @@ _tkg_srcprep() {
   echo "CONFIG_CMDLINE=\"${_custom_commandline}\"" >> ./.config
   echo "# CONFIG_CMDLINE_OVERRIDE is not set" >> ./.config
   echo "# CONFIG_X86_P6_NOP is not set" >> ./.config
+
+  # openrgb
+  echo "CONFIG_I2C_NCT6775=m" >> ./.config
+
+  # ccache fix
   if [ "$_noccache" != "true" ]; then
     if { [ "$_distro" = "Arch" ] && pacman -Qq ccache &> /dev/null; } || { [ "$_distro" = "Ubuntu" ] && dpkg -l ccache > /dev/null; }; then
       sed -i -e 's/CONFIG_GCC_PLUGINS=y/# CONFIG_GCC_PLUGINS is not set/' ./.config