X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2FModules.mk;h=3ffeee2ae7e2b07ee0fdc5e34cd6984f4339488e;hb=8b8ef592521e32d0e32581bf39c5d2a5cd445977;hp=dbeec8fb1261b365a62abbcb8968150cc338f0e1;hpb=6e0ce48e27d5a845bdc8b57fb41bcec8a54f336a;p=cascardo%2Fovs.git diff --git a/datapath/Modules.mk b/datapath/Modules.mk index dbeec8fb1..3ffeee2ae 100644 --- a/datapath/Modules.mk +++ b/datapath/Modules.mk @@ -1,51 +1,57 @@ # Some modules should be built and distributed, e.g. openvswitch. # -# Some modules should be distributed but not built, e.g. we do not build -# veth if the kernel in question already has it. -# # Some modules should be built but not distributed, e.g. third-party # hwtable modules. -both_modules = openvswitch +build_multi_modules = \ + openvswitch +both_modules = \ + $(build_multi_modules) \ + vport_geneve \ + vport_gre \ + vport_lisp \ + vport_stt \ + vport_vxlan +# When changing the name of 'build_modules', please also update the +# print-build-modules in Makefile.am. build_modules = $(both_modules) # Modules to build dist_modules = $(both_modules) # Modules to distribute openvswitch_sources = \ actions.c \ - checksum.c \ + conntrack.c \ datapath.c \ dp_notify.c \ - dp_sysfs_dp.c \ - dp_sysfs_if.c \ flow.c \ - loop_counter.c \ - table.c \ - tunnel.c \ - vlan.c \ + flow_netlink.c \ + flow_table.c \ vport.c \ - vport-capwap.c \ - vport-generic.c \ - vport-gre.c \ vport-internal_dev.c \ - vport-netdev.c \ - vport-patch.c + vport-netdev.c + +vport_geneve_sources = vport-geneve.c +vport_vxlan_sources = vport-vxlan.c +vport_gre_sources = vport-gre.c +vport_lisp_sources = vport-lisp.c +vport_stt_sources = vport-stt.c openvswitch_headers = \ - actions.h \ - checksum.h \ + compat.h \ + conntrack.h \ datapath.h \ - dp_sysfs.h \ flow.h \ - loop_counter.h \ - table.h \ - tunnel.h \ + flow_netlink.h \ + flow_table.h \ vlan.h \ vport.h \ - vport-generic.h \ vport-internal_dev.h \ vport-netdev.h +openvswitch_extras = \ + README.md + dist_sources = $(foreach module,$(dist_modules),$($(module)_sources)) dist_headers = $(foreach module,$(dist_modules),$($(module)_headers)) +dist_extras = $(foreach module,$(dist_modules),$($(module)_extras)) build_sources = $(foreach module,$(build_modules),$($(module)_sources)) build_headers = $(foreach module,$(build_modules),$($(module)_headers)) build_links = $(notdir $(build_sources))