summaryrefslogtreecommitdiffstats
path: root/net/mpls
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-10-30 00:50:04 -0700
committerDavid S. Miller <davem@davemloft.net>2014-10-31 15:47:21 -0400
commitde05c400f7dfa566f598140f8604a5de8067cd5f (patch)
tree7fa7c76e8b1faacef224e21e143548a6f912a287 /net/mpls
parentf7065f4bd3fe4ad6bf7e49ba7c68baa2c7046146 (diff)
downloadop-kernel-dev-de05c400f7dfa566f598140f8604a5de8067cd5f.zip
op-kernel-dev-de05c400f7dfa566f598140f8604a5de8067cd5f.tar.gz
mpls: Allow mpls_gso to be built as module
Kconfig already allows mpls to be built as module. Following patch fixes Makefile to do same. CC: Simon Horman <simon.horman@netronome.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls')
-rw-r--r--net/mpls/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/Makefile b/net/mpls/Makefile
index 0a3c171..6dec088 100644
--- a/net/mpls/Makefile
+++ b/net/mpls/Makefile
@@ -1,4 +1,4 @@
#
# Makefile for MPLS.
#
-obj-y += mpls_gso.o
+obj-$(CONFIG_NET_MPLS_GSO) += mpls_gso.o
OpenPOWER on IntegriCloud