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

Kevin Hao kexin.hao at windriver.com
Thu May 23 18:36:03 PDT 2019


This is the latest LTS version.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
v2: Also drop the mk files to avoid the QA warning.

 ...Drop-the-unneeded-files-when-installation.patch | 33 +++++++++++++++++
 ...dk-18.11-dpdk-fix-for-parellel-make-issue.patch | 42 ++++++++++++++++++++++
 recipes-extended/dpdk/dpdk_18.11.1.bb              | 15 ++++++++
 3 files changed, 90 insertions(+)
 create mode 100644 recipes-extended/dpdk/dpdk/dpdk-18.11-Drop-the-unneeded-files-when-installation.patch
 create mode 100644 recipes-extended/dpdk/dpdk/dpdk-18.11-dpdk-fix-for-parellel-make-issue.patch
 create mode 100644 recipes-extended/dpdk/dpdk_18.11.1.bb

diff --git a/recipes-extended/dpdk/dpdk/dpdk-18.11-Drop-the-unneeded-files-when-installation.patch b/recipes-extended/dpdk/dpdk/dpdk-18.11-Drop-the-unneeded-files-when-installation.patch
new file mode 100644
index 000000000000..210de429b44d
--- /dev/null
+++ b/recipes-extended/dpdk/dpdk/dpdk-18.11-Drop-the-unneeded-files-when-installation.patch
@@ -0,0 +1,33 @@
+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.
+
+Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
+---
+ mk/rte.sdkinstall.mk | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk
+index 2d34b4e5af9f..4682615030f1 100644
+--- a/mk/rte.sdkinstall.mk
++++ b/mk/rte.sdkinstall.mk
+@@ -127,11 +127,9 @@ install-sdk:
+ 	$(Q)tar -chf -     -C $O include | \
+ 	    tar -xf -      -C $(DESTDIR)$(includedir) $(TAR_X_FLAGS)
+ 	$(Q)$(call rte_mkdir,                            $(DESTDIR)$(sdkdir))
+-	$(Q)cp $(CP_FLAGS)      $(RTE_SDK)/mk            $(DESTDIR)$(sdkdir)
+ 	$(Q)cp $(CP_FLAGS)      $(RTE_SDK)/buildtools    $(DESTDIR)$(sdkdir)
+-	$(Q)$(call rte_mkdir,                            $(DESTDIR)$(targetdir)/app)
++	$(Q)$(call rte_mkdir,                            $(DESTDIR)$(targetdir))
+ 	$(Q)cp $(CP_FLAGS)      $O/.config               $(DESTDIR)$(targetdir)
+-	$(Q)cp $(CP_FLAGS)      $O/app/dpdk-pmdinfogen   $(DESTDIR)$(targetdir)/app
+ 	$(Q)$(call rte_symlink, $(DESTDIR)$(includedir), $(DESTDIR)$(targetdir)/include)
+ 	$(Q)$(call rte_symlink, $(DESTDIR)$(libdir),     $(DESTDIR)$(targetdir)/lib)
+ 
+-- 
+2.14.4
+
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.
+
+Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta at intel.com>
+---
+ examples/Makefile                     | 1 +
+ examples/ethtool/ethtool-app/Makefile | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/examples/Makefile b/examples/Makefile
+index 33fe0e586d97..1a3966f9e95a 100644
+--- a/examples/Makefile
++++ b/examples/Makefile
+@@ -14,6 +14,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += bbdev_app
+ DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bond
+ DIRS-y += cmdline
+ DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor
++DEPDIRS-y += examples/ethtool/lib
+ DIRS-y += ethtool
+ DIRS-y += exception_path
+ DIRS-$(CONFIG_RTE_LIBRTE_EFD) += server_node_efd
+diff --git a/examples/ethtool/ethtool-app/Makefile b/examples/ethtool/ethtool-app/Makefile
+index 9ecfc0b89367..fb5fdc43818c 100644
+--- a/examples/ethtool/ethtool-app/Makefile
++++ b/examples/ethtool/ethtool-app/Makefile
+@@ -19,6 +19,7 @@ SRCS-y := main.c ethapp.c
+ CFLAGS += -O3 -pthread -I$(SRCDIR)/../lib
+ CFLAGS += $(WERROR_FLAGS)
+ 
++LDLIBS += -L$(ETHTOOL_LIB_PATH)/
+ LDLIBS += -L$(subst ethtool-app,lib,$(RTE_OUTPUT))/lib
+ LDLIBS += -lrte_ethtool
+ 
+-- 
+2.14.4
+
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"
+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 \
+"
-- 
2.14.4



More information about the meta-intel mailing list