reproduce (this is a W=1 build): # https://github.com/jcmvbkbc/linux-xtensa/commit/de5a96ec7f9b35d9493bc022d16cd1a03ff73798 git remote add jcmvbkbc-xtensa https://github.com/jcmvbkbc/linux-xtensa git fetch --no-tags jcmvbkbc-xtensa xtensa-6.11-rc6-esp32 git checkout de5a96ec7f9b35d9493bc022d16cd1a03ff73798 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/misc/ kernel/events/