From: Chan Wei Sern <wei.sern.c...@intel.com>

Added PREFERRED_PROVIDER and PREFERRED_VERSION for Intel DPDK.
Added MACHINE_EXTRA_RRECOMMENDS to include dpdk for romley machine
configuration so that building on Romley will automatically pick up
Intel DPDK. This is an initial version of Intel DPDK support in Romley
that is targetting version 1.6.0r2.

Signed-off-by: Chan Wei Sern <wei.sern.c...@intel.com>
---
 meta-romley/conf/machine/romley-ivb.conf | 6 +++++-
 meta-romley/conf/machine/romley.conf     | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta-romley/conf/machine/romley-ivb.conf 
b/meta-romley/conf/machine/romley-ivb.conf
index af52897..fc179dd 100644
--- a/meta-romley/conf/machine/romley-ivb.conf
+++ b/meta-romley/conf/machine/romley-ivb.conf
@@ -7,7 +7,8 @@
 #@DESCRIPTION: Machine configuration for Romley systems
 # i.e. Xeon E5-2600 and E5-2400 + Intel CC604/C602-J
 
-
+PREFERRED_PROVIDER_virtual/extended ?= "dpdk"
+PREFERRED_VERSION_dpdk ?= "1.6.0r2%"
 PREFERRED_VERSION_linux-yocto ?= "3.10%"
 
 require conf/machine/include/intel-corei7-64-common.inc
@@ -18,3 +19,6 @@ XSERVER ?= "${XSERVER_X86_BASE} \
            ${XSERVER_X86_EXT} \
           ${XSERVER_X86_MATROX_MGA} \
            "
+
+MACHINE_EXTRA_RRECOMMENDS += "dpdk \
+                              "
diff --git a/meta-romley/conf/machine/romley.conf 
b/meta-romley/conf/machine/romley.conf
index ed52a1e..33be235 100644
--- a/meta-romley/conf/machine/romley.conf
+++ b/meta-romley/conf/machine/romley.conf
@@ -7,7 +7,8 @@
 #@DESCRIPTION: Machine configuration for Romley systems
 # i.e. Xeon E5-2600 and E5-2400 + Intel CC604/C602-J
 
-
+PREFERRED_PROVIDER_virtual/extended ?= "dpdk"
+PREFERRED_VERSION_dpdk ?= "1.6.0r2%"
 PREFERRED_VERSION_linux-yocto ?= "3.10%"
 
 require conf/machine/include/intel-corei7-64-common.inc
@@ -18,3 +19,6 @@ XSERVER ?= "${XSERVER_X86_BASE} \
            ${XSERVER_X86_EXT} \
           ${XSERVER_X86_MATROX_MGA} \
            "
+
+MACHINE_EXTRA_RRECOMMENDS += "dpdk \
+                              "
-- 
1.9.1

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to