diff mbox

[net,2/2] mpls: Allow mpls_gso to be built as module

Message ID 1414655404-1572-1-git-send-email-pshelar@nicira.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Pravin B Shelar Oct. 30, 2014, 7:50 a.m. UTC
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>
---
 net/mpls/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Simon Horman Oct. 31, 2014, 6:49 a.m. UTC | #1
On Thu, Oct 30, 2014 at 12:50:04AM -0700, Pravin B Shelar wrote:
> Kconfig already allows mpls to be built as module. Following patch
> fixes Makefile to do same.

Thanks, and sorry for messing that up.

Acked-by: Simon Horman <simon.horman@netronome.com>

> CC: Simon Horman <simon.horman@netronome.com>
> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
> ---
>  net/mpls/Makefile |    2 +-
>  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
> -- 
> 1.7.1
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller Oct. 31, 2014, 7:48 p.m. UTC | #2
From: Pravin B Shelar <pshelar@nicira.com>
Date: Thu, 30 Oct 2014 00:50:04 -0700

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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