[meta-intel] [meta-dpdk] dpdk: Use git repo

Kevin Hao kexin.hao at windriver.com
Wed Apr 11 18:20:20 PDT 2018


On Mon, Apr 09, 2018 at 10:27:43AM +0800, Kevin Hao wrote:
> This is more convenient for development.

Hi Cal,

Would you consider merging this patch?

Thanks,
Kevin

> 
> Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
> ---
>  recipes-extended/dpdk/dpdk.inc        | 6 +++++-
>  recipes-extended/dpdk/dpdk_17.11.1.bb | 5 ++++-
>  recipes-extended/dpdk/dpdk_18.02.bb   | 2 ++
>  3 files changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
> index 69259d3222ae..10b9cc842e90 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.04-Fix-for-misleading-indentation-error.patch \
> diff --git a/recipes-extended/dpdk/dpdk_17.11.1.bb b/recipes-extended/dpdk/dpdk_17.11.1.bb
> index e323bf21b402..098ba7373ba3 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 8a217141e694..2c80aef3dc39 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 \
> -- 
> 2.14.3
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20180412/2eb5b048/attachment.pgp>


More information about the meta-intel mailing list