mirror of
git://git.yoctoproject.org/meta-dpdk.git
synced 2025-07-17 02:49:03 +02:00
dpdk: Add check against necessary kernel options
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 <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
f2cd2cd5cc
commit
c29b7a480a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user