Make changes to use custom build for the kernel

Change-Id: I6a5623a288f4f9c59a06e225b3ed661d8f1b1f1c