mpls: Allow mpls_gso to be built as module
authorPravin B Shelar <pshelar@nicira.com>
Thu, 30 Oct 2014 07:50:04 +0000 (00:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2014 19:47:21 +0000 (15:47 -0400)
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>
net/mpls/Makefile

index 0a3c171be5374d2b813a18a368a40053e619cbef..6dec088c2d0f77dff06bf6bbd8557d2f325bafa1 100644 (file)
@@ -1,4 +1,4 @@
 #
 # Makefile for MPLS.
 #
-obj-y += mpls_gso.o
+obj-$(CONFIG_NET_MPLS_GSO) += mpls_gso.o