[meta-intel] [meta-dpdk v2 2/2] Introduce the v18.11.1 bb

Kevin Hao kexin.hao at windriver.com
Sat May 25 23:54:58 PDT 2019


On Fri, May 24, 2019 at 03:45:07AM +0000, Mittal, Anuj wrote:
> Hi Kevin,
> 
> I have a few comments:
> 
> On Fri, 2019-05-24 at 09:36 +0800, Kevin Hao wrote:
> ...
> 
> > +From d50d2a8f3da588c0aaeb95116a88be5a598b4b16 Mon Sep 17 00:00:00
> > 2001
> > +From: Kevin Hao <kexin.hao at windriver.com>
> > +Date: Thu, 23 May 2019 15:34:20 +0800
> > +Subject: [PATCH] Drop the unneeded files when installation
> > +
> > +These are not needed as part of image. Drop them to avoid the QA
> > +warning.
> > +
> 
> Since it's only just one app, could we package it in FILES_PN-examples? 

No, it is supposed to be executed on the host instead of target.

> If not, we should probably just remove it in do_install_append and not
> carry this patch.

Do you mean something like this in the dpdk_18.11.1.bb:
  do_install_append () {
      # Remove the unneeded dir
      dir=${D}/${INSTALL_PATH}/${RTE_TARGET}/app
      test -d $dir && rm -rf $dir
  }

> 
> We also probably don't need to delete the installation of mk folder
> since they are being packaged now:
> 
> https://git.yoctoproject.org/cgit/cgit.cgi/meta-dpdk/commit/?id=4582cde191b3b06b9b8f34bcd3fdd6c8a2d5e838

Aha, the git repo which I was used to do the build for arm64 missed this commit.

> 
> Can you please check?
> 
> ...
> 
> > diff --git a/recipes-extended/dpdk/dpdk/dpdk-18.11-dpdk-fix-for-
> > parellel-make-issue.patch b/recipes-extended/dpdk/dpdk/dpdk-18.11-
> > dpdk-fix-for-parellel-make-issue.patch
> > new file mode 100644
> > index 000000000000..e95c9a4ff5ce
> > --- /dev/null
> > +++ b/recipes-extended/dpdk/dpdk/dpdk-18.11-dpdk-fix-for-parellel-
> > make-issue.patch
> > @@ -0,0 +1,42 @@
> > +From 5e78af18b6dda83e317ccadab1654fca26aaf6dd Mon Sep 17 00:00:00
> > 2001
> > +From: Rahul Kumar Gupta <rahul.kumarxx.gupta at intel.com>
> > +Date: Fri, 2 Sep 2016 15:48:52 +0800
> > +Subject: [PATCH] dpdk: fix for parellel make issue
> > +
> > +To make sure that the path of libraries should be correct and
> > +libraries will be build before, And available at the time of
> > +linking example apps.
> 
> Can you add Upstream-Status here please and try submitting it upstream?

According to the codes, the depended libraries should be added to the
app makefile prerequisites automatically. I also have done build test without
this patch and don't get any failure. So it seems that this patch is not
needed (at least for the v18.11.1 version). I will drop this patch.

> 
> ...
> 
> > diff --git a/recipes-extended/dpdk/dpdk_18.11.1.bb b/recipes-
> > extended/dpdk/dpdk_18.11.1.bb
> > new file mode 100644
> > index 000000000000..2cb84924a757
> > --- /dev/null
> > +++ b/recipes-extended/dpdk/dpdk_18.11.1.bb
> > @@ -0,0 +1,15 @@
> > +include dpdk.inc
> > +
> > +STABLE = "-stable"
> > +BRANCH = "18.11"
> > +SRCREV = "16ece46735c9b70b7033ca7ae095930e9038d9fd"
> > +
> > +LICENSE = "BSD & LGPLv2 & GPLv2"
> 
> Should these be BSD-3-Clause & LGPLv2.1 & GPLv2 based on the files
> included below?

Hmm, this is copied from the dpdk_18.05.bb. I will adjust them according to
the license files.

Thanks,
Kevin

> 
> > +LIC_FILES_CHKSUM = "file://license/gpl-
> > 2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> > +                    file://license/lgpl-
> > 2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \
> > +                    file://license/bsd-3-
> > clause.txt;md5=0f00d99239d922ffd13cabef83b33444"
> > +
> > +SRC_URI += "\
> > +            file://dpdk-18.11-dpdk-fix-for-parellel-make-issue.patch 
> > \
> > +            file://dpdk-18.11-Drop-the-unneeded-files-when-
> > installation.patch \
> > +"
> 
> 
> 
-------------- 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/20190526/44333ea6/attachment.pgp>


More information about the meta-intel mailing list