[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 1 Jan 2008 11:26:37 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: WANG Cong <xiyou.wangcong@...il.com>
Cc: Roland Dreier <rolandd@...co.com>, mshefty@...ips.intel.com,
LKML <linux-kernel@...r.kernel.org>,
linux-kbuild@...r.kernel.org, Andrew Morton <akpm@...l.org>,
hal.rosenstock@...il.com
Subject: Re: [Patch 5/8] INFINIBAND: Remove 'TOPDIR' from Makefiles
On Tue, Jan 01, 2008 at 03:33:31PM +0800, WANG Cong wrote:
>
> TOPDIR is obsolete, use objtree instead.
> This patch removes TOPDIR from all infiniband Makefiles.
>
> Cc: Sam Ravnborg <sam@...nborg.org>
> Cc: Roland Dreier <rolandd@...co.com>
> Cc: Sean Hefty <mshefty@...ips.intel.com>
> Cc: Hal Rosenstock <hal.rosenstock@...il.com>
> Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
>
> ---
>
> diff --git a/drivers/infiniband/hw/cxgb3/Makefile b/drivers/infiniband/hw/cxgb3/Makefile
> index 36b9898..b82286a 100644
> --- a/drivers/infiniband/hw/cxgb3/Makefile
> +++ b/drivers/infiniband/hw/cxgb3/Makefile
> @@ -1,5 +1,5 @@
> -EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3 \
> - -I$(TOPDIR)/drivers/infiniband/hw/cxgb3/core
> +EXTRA_CFLAGS += -I$(objtree)/drivers/net/cxgb3 \
Drop $(TOPDIR) like this:
> +EXTRA_CFLAGS += -Idrivers/net/cxgb3 \
> + -I$(objtree)/drivers/infiniband/hw/cxgb3/core
And this line can be deleted - there is no such directory.
At least not in my tree.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists