Revert "Allow inline kernel build"

This reverts commit f0f7fbdd75f227e832e48837d32767d84899d8c0.