Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753976AbYAAKR2 (ORCPT ); Tue, 1 Jan 2008 05:17:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752130AbYAAKRV (ORCPT ); Tue, 1 Jan 2008 05:17:21 -0500 Received: from pasmtpa.tele.dk ([80.160.77.114]:60863 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbYAAKRT (ORCPT ); Tue, 1 Jan 2008 05:17:19 -0500 Date: Tue, 1 Jan 2008 11:17:20 +0100 From: Sam Ravnborg To: WANG Cong Cc: Martin Schwidefsky , LKML , linux-kbuild@vger.kernel.org, Andrew Morton , linux-s390@vger.kernel.org Subject: Re: [Patch 3/8] S390: Remove 'TOPDIR' from Makefiles Message-ID: <20080101101720.GC28913@uranus.ravnborg.org> References: <20080101071311.GA2496@hacking> <20080101072555.GD2496@hacking> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080101072555.GD2496@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: 1086 Lines: 31 On Tue, Jan 01, 2008 at 03:25:55PM +0800, WANG Cong wrote: > > TOPDIR is obsolete, use objtree instead. > This patch removes TOPDIR from all s390 Makefiles. > > Cc: Martin Schwidefsky > Cc: Sam Ravnborg > Signed-off-by: WANG Cong > > --- > > diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile > index 56cb710..a753a71 100644 > --- a/arch/s390/kernel/Makefile > +++ b/arch/s390/kernel/Makefile > @@ -34,4 +34,4 @@ obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS) > # > # This is just to get the dependencies... > # > -binfmt_elf32.o: $(TOPDIR)/fs/binfmt_elf.c > +binfmt_elf32.o: $(objtree)/fs/binfmt_elf.c This prerequisite listing looks just bogus and should be removed altogether. We only need to list prerequisites explicit for generated files. 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/