From: He Zhe <[email protected]>

This reverts commit c29b7a480ad3e5308a1ecffa8225eeec624f68bc.

Unfortunely, the reverted commit does not work in every cases. If
KERNEL_FEATURES was set in somewhere else other than a global configuration,
for example in kernel's bbappend, there would be no way for dpdk recipe to
detect if the wanted feature has been enabled.

Signed-off-by: He Zhe <[email protected]>
---
 recipes-extended/dpdk/dpdk.inc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index c52f8fe..293a404 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -1,11 +1,6 @@
 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.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6388): 
https://lists.yoctoproject.org/g/meta-intel/message/6388
Mute This Topic: https://lists.yoctoproject.org/mt/71444557/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to