[ovs-dev] [PATCH 0/6] Reduce binary size of OVS by using shared libs

Helmut Schaa helmut.schaa at googlemail.com
Fri Dec 13 13:04:59 UTC 2013


This series converts OVS to use shared libs for its internal stuff instead
of linking everything static.

Helmut Schaa (6):
  compiler: Add OVS_CONSTRUCTOR to mark functions as init functions
  vlog: Use OVS_CONSTRUCTOR for vlog initialization
  coverage: Use OVS_CONSTRUCTOR to initialize the coverage counter array
  Remove unused USE_LINKER_SECTIONS and OVS_LINK2_IFELSE
  openvswitch: Use libtool and allow building shared libs
  rhel, fedora: Remove *.a and *.la from rpms

 Makefile.am                     |  2 +-
 configure.ac                    |  3 +-
 lib/automake.mk                 | 61 ++++++++++++--------------------
 lib/compiler.h                  | 13 +++++++
 lib/coverage.c                  | 46 ++++++++----------------
 lib/coverage.h                  | 20 ++++-------
 lib/vlog.c                      | 63 ++++++++++++---------------------
 lib/vlog.h                      | 16 +++++----
 m4/openvswitch.m4               | 77 -----------------------------------------
 ofproto/automake.mk             | 10 ++++--
 ovsdb/automake.mk               | 14 +++++---
 rhel/openvswitch-fedora.spec.in |  3 ++
 rhel/openvswitch.spec.in        |  1 +
 tests/automake.mk               | 62 ++++++++++++++++-----------------
 utilities/automake.mk           | 16 ++++-----
 vswitchd/automake.mk            |  6 ++--
 vtep/automake.mk                |  2 +-
 17 files changed, 153 insertions(+), 262 deletions(-)

-- 
1.8.1.4




More information about the dev mailing list