add kernel packaging
add extra version param to kernel
fix target check