On 10/1/2019 7:05 PM, Rahul Shah wrote: > Adding a new port type called eventdev to the > rte_port library. > > Signed-off-by: Rahul Shah <rahul.r.s...@intel.com> > --- > lib/librte_port/Makefile | 4 +- > lib/librte_port/meson.build | 8 +- > lib/librte_port/rte_port_eventdev.c | 585 +++++++++++++++++++++++++++ > lib/librte_port/rte_port_eventdev.h | 100 +++++ > lib/librte_port/rte_port_version.map | 9 + > 5 files changed, 702 insertions(+), 4 deletions(-) > create mode 100644 lib/librte_port/rte_port_eventdev.c > create mode 100644 lib/librte_port/rte_port_eventdev.h > > diff --git a/lib/librte_port/Makefile b/lib/librte_port/Makefile > index 1b83f6f2b..de6f0428a 100644 > --- a/lib/librte_port/Makefile > +++ b/lib/librte_port/Makefile > @@ -11,7 +11,7 @@ ifeq ($(CONFIG_RTE_PORT_PCAP),y) > LDLIBS += -lpcap > endif > LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_ethdev > -LDLIBS += -lrte_ip_frag -lrte_sched -lrte_cryptodev > +LDLIBS += -lrte_ip_frag -lrte_sched -lrte_cryptodev -lrte_eventdev
This creates a dependency form 'librte_port' to 'librte_eventdev', this dependency should be reflected to the build system, so that 'librte_eventdev' have built before 'librte_port' This is done via 'lib/Makefile' in make build but not sure how to do in meson. Can you please send a fix for this?