reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/weiny2/linux-kernel/commit/3ee964a4772cd93458d8dbf48f2fd97b8b65551d git remote add weiny2 https://github.com/weiny2/linux-kernel.git git fetch --no-tags weiny2 v6.5-pks-core git checkout 3ee964a4772cd93458d8dbf48f2fd97b8b65551d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash