source: lib/dpdk_libtrace.mk @ 29ba7c2

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 29ba7c2 was 2138553, checked in by Richard Sanger <rjs51@…>, 7 years ago

Updates the dpdk build system to support the lastest DPDK libraries v1.5 and above
This drops support for anything before v1.5 due to the requirment to patch the build system.
Hopefully this new way will continue to work with newer releases

This removes the need to patch the DPDK library
Instead the only requirement is that DPDK is built as a static library with the following options
CONFIG_RTE_BUILD_COMBINE_LIBS=y EXTRA_CFLAGS="-fPIC added to the make command

-This line, and those below, will be ignored--

M configure.in
D Intel DPDK Patches/DPDKLibtracePatch.patch
M Intel DPDK Patches/README
M lib/format_dpdk.c
A lib/dpdk_libtrace.mk
M lib/Makefile.am

  • Property mode set to 100644
File size: 447 bytes
Line 
1# Handles a tiny bit of extra work so that we don't break when doing a
2# DPDK make like what rte.app.mk would do
3
4# Taken from Intel DPDK to put -Wl, before a -melf option otherwise this breaks
5ifeq ($(LINK_USING_CC),1)
6comma := ,
7LDFLAGS := $(addprefix -Wl$(comma),$(LDFLAGS))
8endif
9
10# Ensure extra libraries are linked in
11ifeq ($(CONFIG_RTE_LIBC),y)
12DPDKLIBS += -lc
13DPDKLIBS += -lm
14endif
15
16DPDKLIBS += $(EXECENV_LDLIBS)
17DPDKLIBS += $(CPU_LDLIBS)
Note: See TracBrowser for help on using the repository browser.