modified to only build the kernel