Changeset 2138553 for lib/Makefile.am


Ignore:
Timestamp:
02/13/14 15:00:10 (8 years ago)
Author:
Richard Sanger <rjs51@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
accdd5b
Parents:
bcb2402
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    r8b49230 r2138553  
    3535include $(RTE_SDK)/mk/rte.vars.mk
    3636# We need to add -Wl before the linker otherwise this breaks our build
    37 # This is added in with our make script patch to the DPDK library
    38 include $(RTE_SDK)/mk/libtrace.mk
     37# And include any libraries that DPDK might depend upon
     38export DPDK_LIBTRACE_MK=dpdk_libtrace.mk
     39include $(DPDK_LIBTRACE_MK)
    3940endif
    4041
     
    5859
    5960INCLUDES= @ADD_INCLS@ -I../libwandio
    60 libtrace_la_LIBADD = @LIBTRACE_LIBS@ @LTLIBOBJS@
     61libtrace_la_LIBADD = @LIBTRACE_LIBS@ @LTLIBOBJS@ $(DPDKLIBS)
    6162libtrace_la_LDFLAGS=-version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ @ADD_LDFLAGS@
    62 
    6363dagapi.c:
    6464        cp @DAG_TOOLS_DIR@/dagapi.c .
Note: See TracChangeset for help on using the changeset viewer.