reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git/commit/?id=2acbbc182e1fd364e022c713c7ac7365fb97a485 git remote add thermal git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git git fetch --no-tags thermal thermal/threshold-patchset git checkout 2acbbc182e1fd364e022c713c7ac7365fb97a485 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/thermal/