diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index e70d9a6..1ec3a98 100644 --- a/recipes-extended/dpdk/dpdk.inc +++ b/recipes-extended/dpdk/dpdk.inc @@ -1,6 +1,11 @@ DESCRIPTION = "Intel(r) Data Plane Development Kit" HOMEPAGE = "http://dpdk.org" +python () { + if not bb.utils.contains('KERNEL_FEATURES', 'features/intel-dpdk/intel-dpdk.scc', True, False, d): + bb.warn("dpdk requires kernel options in features/intel-dpdk/intel-dpdk.scc to be able to build and work properly. You can either enable them by adding features/intel-dpdk/intel-dpdk.scc to KERNEL_FEATURES or by standard kernel configuration process.") +} + STABLE = "" BRANCH = "master" S = "${WORKDIR}/git"