Revert "dpdk: Add check against necessary kernel options"

This reverts commit c29b7a480a.

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 <zhe.he@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
He Zhe 2020-02-21 12:02:20 +08:00 committed by Anuj Mittal
parent 24cd3e389b
commit f47d49eb14

View File

@ -1,11 +1,6 @@
DESCRIPTION = "Intel(r) Data Plane Development Kit" DESCRIPTION = "Intel(r) Data Plane Development Kit"
HOMEPAGE = "http://dpdk.org" 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 = "" STABLE = ""
BRANCH = "master" BRANCH = "master"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"