diff options
author | Cong Wang <amwang@redhat.com> | 2013-08-20 10:48:15 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-08-23 16:43:07 -0700 |
commit | 3fa34de67861abfc4846ccec886ca549d46ae56c (patch) | |
tree | b043c4686c6b40283b6900e19d8907b94ac59f84 /net/openvswitch/Makefile | |
parent | 2694838d608db701e5ed1e95d741cdbddd9aa864 (diff) | |
download | kernel-common-3fa34de67861abfc4846ccec886ca549d46ae56c.tar.gz kernel-common-3fa34de67861abfc4846ccec886ca549d46ae56c.tar.bz2 kernel-common-3fa34de67861abfc4846ccec886ca549d46ae56c.zip |
openvswitch: check CONFIG_OPENVSWITCH_GRE in makefile
Cc: Jesse Gross <jesse@nicira.com>
Cc: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/Makefile')
-rw-r--r-- | net/openvswitch/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 82e4ee54a44b..ea36e99089af 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -10,10 +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 |