Revert "support for inline kernel building"

This reverts commit 18f23fb0a915caec31dd0654ffc0efa561651bc2.