kernel: add build script and bootimg tools