diff options
author | aaron conole <aconole@redhat.com> | 2017-08-04 13:00:55 -0400 |
---|---|---|
committer | Russell Bryant <russell@ovn.org> | 2017-08-08 13:40:56 -0400 |
commit | 3828b456124b85093b414984daacbc8fae39dfca (patch) | |
tree | 948c222f4cf70406b770bc41ec74b91431e66a02 /Makefile.am | |
parent | ac416a3ab2d200284b4eeba0544056694850e65d (diff) | |
download | openvswitch-3828b456124b85093b414984daacbc8fae39dfca.tar.gz |
dpdkstrip: add a preprocessor tool for stripping dpdk blocks
Normally, in C code, pre-processing macros can be used to enable/disable
specific functionality based on switches passed to configure. This works
for DPDK using the --with-dpdk flag, which sets the DPDK_NETDEV define to
the appropriate value.
However, not all files are processed with the C pre-processor. For those
files which are not, this commit adds a new pre-processor tool for .in
files to either include or exclude those stanzas as appropriate.
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 373ef6e91..035afe60b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -82,6 +82,7 @@ EXTRA_DIST = \ build-aux/cksum-schema-check \ build-aux/calculate-schema-cksum \ build-aux/dist-docs \ + build-aux/dpdkstrip.pl \ build-aux/sodepends.pl \ build-aux/soexpand.pl \ build-aux/xml2nroff \ |