kernel: auto choose

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>