[v3] port: fix library build order dependency

Message ID 20191113004402.31980-1-rahul.r.shah@intel.com (mailing list archive)
State Not Applicable, archived
Delegated to: David Marchand
Headers
Series [v3] port: fix library build order dependency |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply issues

Commit Message

Rahul Shah Nov. 13, 2019, 12:44 a.m. UTC
  The port library should be built after eventdev library.

Fixes: 	5d92c4e5 ("port: add eventdev port type")

Signed-off-by: Rahul Shah <rahul.r.shah@intel.com>
---
 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

David Marchand Nov. 14, 2019, 6:32 a.m. UTC | #1
On Thu, Nov 14, 2019 at 1:43 AM Rahul Shah <rahul.r.shah@intel.com> wrote:
>
> The port library should be built after eventdev library.
>
> Fixes:  5d92c4e5 ("port: add eventdev port type")
>
> Signed-off-by: Rahul Shah <rahul.r.shah@intel.com>

This patch has been accepted and applied in its v2 form:
https://patchwork.dpdk.org/patch/62661/
  

Patch

diff --git a/lib/Makefile b/lib/Makefile
index 5d04ab915..1ff00ba8c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -89,7 +89,7 @@  DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor
 DEPDIRS-librte_distributor := librte_eal librte_mbuf librte_ethdev
 DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port
 DEPDIRS-librte_port := librte_eal librte_mempool librte_mbuf librte_ethdev
-DEPDIRS-librte_port += librte_ip_frag librte_sched
+DEPDIRS-librte_port += librte_ip_frag librte_sched librte_eventdev
 ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
 DEPDIRS-librte_port += librte_kni
 endif