Since the kni library is an optional library, we need to add a check here to ensure that the kni wrapper PMD is only built when the main kni lib is being built. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>