diff options
Diffstat (limited to 'net/openvswitch/Makefile')
-rw-r--r-- | net/openvswitch/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 01bddb2991e..ea36e99089a 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -10,6 +10,13 @@ openvswitch-y := \ dp_notify.o \ flow.o \ vport.o \ - vport-gre.o \ vport-internal_dev.o \ vport-netdev.o + +ifneq ($(CONFIG_OPENVSWITCH_VXLAN),) +openvswitch-y += vport-vxlan.o +endif + +ifneq ($(CONFIG_OPENVSWITCH_GRE),) +openvswitch-y += vport-gre.o +endif |