reproduce (this is a W=1 build): # https://github.com/spacemit-com/linux/commit/036fddf701ce097e2203c49a1657952a5c1ebb8a git remote add spacemit-com https://github.com/spacemit-com/linux git fetch --no-tags spacemit-com wip/k3-pm-v2.4 git checkout 036fddf701ce097e2203c49a1657952a5c1ebb8a # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash dt_binding_check dtbs_check