From: He Zhe <[email protected]> dpdk requires kernel option features/intel-dpdk/intel-dpdk.scc to build. We'd better inform users in advance before they meet some confusing errors at compile-time.
Signed-off-by: He Zhe <[email protected]> --- 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..f916223 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): + raise bb.parse.SkipPackage("dpdk requires features/intel-dpdk/intel-dpdk.scc in KERNEL_FEATURES to build") +} + STABLE = "" BRANCH = "master" S = "${WORKDIR}/git" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6382): https://lists.yoctoproject.org/g/meta-intel/message/6382 Mute This Topic: https://lists.yoctoproject.org/mt/71346190/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
