prima: clean up the difference between kernel and inline builds

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>