Build kernel inline