reproduce (this is a W=1 build): # https://github.com/frank-w/BPI-R2-4.14/commit/5036602823ce2d4ad8b7122b19afa16f7f5f0742 git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14 git fetch --no-tags frank-w-bpi-r2-4.14 5.10-main git checkout 5036602823ce2d4ad8b7122b19afa16f7f5f0742 # 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/