Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052AbYAAK0q (ORCPT ); Tue, 1 Jan 2008 05:26:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752037AbYAAK0h (ORCPT ); Tue, 1 Jan 2008 05:26:37 -0500 Received: from pasmtpb.tele.dk ([80.160.77.98]:34626 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbYAAK0g (ORCPT ); Tue, 1 Jan 2008 05:26:36 -0500 Date: Tue, 1 Jan 2008 11:26:37 +0100 From: Sam Ravnborg To: WANG Cong Cc: Roland Dreier , mshefty@ichips.intel.com, LKML , linux-kbuild@vger.kernel.org, Andrew Morton , hal.rosenstock@gmail.com Subject: Re: [Patch 5/8] INFINIBAND: Remove 'TOPDIR' from Makefiles Message-ID: <20080101102637.GE28913@uranus.ravnborg.org> References: <20080101071311.GA2496@hacking> <20080101073331.GF2496@hacking> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080101073331.GF2496@hacking> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1242 Lines: 35 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 > Cc: Roland Dreier > Cc: Sean Hefty > Cc: Hal Rosenstock > Signed-off-by: WANG Cong > > --- > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/