summaryrefslogtreecommitdiffstats
path: root/net/mpls/Makefile
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-10-30 08:50:04 +0100
committerDavid S. Miller <davem@davemloft.net>2014-10-31 20:47:21 +0100
commitde05c400f7dfa566f598140f8604a5de8067cd5f (patch)
tree7fa7c76e8b1faacef224e21e143548a6f912a287 /net/mpls/Makefile
parentmpls: Fix mpls_gso handler. (diff)
downloadlinux-de05c400f7dfa566f598140f8604a5de8067cd5f.tar.xz
linux-de05c400f7dfa566f598140f8604a5de8067cd5f.zip
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 '')
-rw-r--r--net/mpls/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/Makefile b/net/mpls/Makefile
index 0a3c171be537..6dec088c2d0f 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