mirror of https://gitee.com/openkylin/linux.git
27 lines
492 B
Makefile
27 lines
492 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Open vSwitch.
|
|
#
|
|
|
|
obj-$(CONFIG_OPENVSWITCH) += openvswitch.o
|
|
|
|
openvswitch-y := \
|
|
actions.o \
|
|
datapath.o \
|
|
dp_notify.o \
|
|
flow.o \
|
|
flow_netlink.o \
|
|
flow_table.o \
|
|
meter.o \
|
|
vport.o \
|
|
vport-internal_dev.o \
|
|
vport-netdev.o
|
|
|
|
ifneq ($(CONFIG_NF_CONNTRACK),)
|
|
openvswitch-y += conntrack.o
|
|
endif
|
|
|
|
obj-$(CONFIG_OPENVSWITCH_VXLAN)+= vport-vxlan.o
|
|
obj-$(CONFIG_OPENVSWITCH_GENEVE)+= vport-geneve.o
|
|
obj-$(CONFIG_OPENVSWITCH_GRE) += vport-gre.o
|