reproduce (this is a W=1 build): # https://github.com/stephensmalley/selinux-kernel/commit/897e85169ad60085853a3d494489bf6ab7dac182 git remote add ssmalley-selinuxns https://github.com/stephensmalley/selinux-kernel git fetch --no-tags ssmalley-selinuxns working-selinuxns git checkout 897e85169ad60085853a3d494489bf6ab7dac182 # 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