1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Open vSwitch.
4#
5
6obj-$(CONFIG_OPENVSWITCH) += openvswitch.o
7
8openvswitch-y := \
9	actions.o \
10	datapath.o \
11	dp_notify.o \
12	flow.o \
13	flow_netlink.o \
14	flow_table.o \
15	meter.o \
16	openvswitch_trace.o \
17	vport.o \
18	vport-internal_dev.o \
19	vport-netdev.o
20
21ifneq ($(CONFIG_NF_CONNTRACK),)
22openvswitch-y += conntrack.o
23endif
24
25obj-$(CONFIG_OPENVSWITCH_VXLAN)+= vport-vxlan.o
26obj-$(CONFIG_OPENVSWITCH_GENEVE)+= vport-geneve.o
27obj-$(CONFIG_OPENVSWITCH_GRE)	+= vport-gre.o
28
29CFLAGS_openvswitch_trace.o = -I$(src)
30