linux58-tkg: Append I2C_NCT6775=m entry to config to skip optional openrgb patch prompt

master
Tk-Glitch 2020-10-10 22:02:32 +07:00
parent 77c316a6d6
commit 95f6f1da7d
1 changed files with 5 additions and 0 deletions

@ -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