aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-04-09 10:27:43 +0800
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-12 08:57:21 -0700
commit242f6362a33312f07a4d54541aa61fa1ace52fb2 (patch)
treec558fa75b2b856aeaff83a5c26ebf8e6c3158018
parenteff812eeba5cbcc409a30b343956858171146103 (diff)
downloadmeta-dpdk-242f6362a33312f07a4d54541aa61fa1ace52fb2.tar.gz
meta-dpdk-242f6362a33312f07a4d54541aa61fa1ace52fb2.tar.bz2
meta-dpdk-242f6362a33312f07a4d54541aa61fa1ace52fb2.zip
dpdk: Use git repo
This is more convenient for development. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc6
-rw-r--r--recipes-extended/dpdk/dpdk_17.11.1.bb5
-rw-r--r--recipes-extended/dpdk/dpdk_18.02.bb2
3 files changed, 11 insertions, 2 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 7476118..54af9c6 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -1,7 +1,11 @@
DESCRIPTION = "Intel(r) Data Plane Development Kit"
HOMEPAGE = "http://dpdk.org"
-SRC_URI = "http://fast.dpdk.org/rel/${BP}.tar.gz;name=dpdk \
+STABLE = ""
+BRANCH = "master"
+S = "${WORKDIR}/git"
+
+SRC_URI = "git://dpdk.org/dpdk${STABLE};branch=${BRANCH} \
file://dpdk-16.04-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \
file://dpdk-16.07-add-sysroot-option-within-app-makefile.patch \
file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \
diff --git a/recipes-extended/dpdk/dpdk_17.11.1.bb b/recipes-extended/dpdk/dpdk_17.11.1.bb
index e323bf2..098ba73 100644
--- a/recipes-extended/dpdk/dpdk_17.11.1.bb
+++ b/recipes-extended/dpdk/dpdk_17.11.1.bb
@@ -1,5 +1,9 @@
include dpdk.inc
+STABLE = "-stable"
+BRANCH = "17.11"
+SRCREV = "d864d418fa3424098bd14d0b7fd1c8ed078dbb25"
+
LICENSE = "LGPLv2 & GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe\
file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c"
@@ -7,7 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe\
SRC_URI[dpdk.md5sum] = "75a2f0922baadc19dc8a222a7547798a"
SRC_URI[dpdk.sha256sum] = "47f43a3ef66cc351ab639ae313830dc08760089c7d227e5f73daa0d6df38b201"
-S = "${WORKDIR}/${BPN}-stable-${PV}"
export EXAMPLES_BUILD_DIR = "${RTE_TARGET}"
export ARCHDIR = "generic"
diff --git a/recipes-extended/dpdk/dpdk_18.02.bb b/recipes-extended/dpdk/dpdk_18.02.bb
index 8a21714..2c80aef 100644
--- a/recipes-extended/dpdk/dpdk_18.02.bb
+++ b/recipes-extended/dpdk/dpdk_18.02.bb
@@ -1,5 +1,7 @@
include dpdk.inc
+SRCREV = "92924b207b124c156f7b6dff75110d6af83d971f"
+
LICENSE = "BSD & LGPLv2 & GPLv2"
LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \