From: He Zhe <[email protected]> dpdk requires kernel option features/intel-dpdk/intel-dpdk.scc to build. We'd better warn users in advance before they meet some confusing errors at compile-time.
Signed-off-by: He Zhe <[email protected]> --- v2: It should be better to warn then fail. recipes-extended/dpdk/dpdk.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index 293a404..c52f8fe 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" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6385): https://lists.yoctoproject.org/g/meta-intel/message/6385 Mute This Topic: https://lists.yoctoproject.org/mt/71346388/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
