Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754609AbYAAO2x (ORCPT ); Tue, 1 Jan 2008 09:28:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753927AbYAAO2q (ORCPT ); Tue, 1 Jan 2008 09:28:46 -0500 Received: from po-out-1718.google.com ([72.14.252.153]:18632 "EHLO po-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753812AbYAAO2o (ORCPT ); Tue, 1 Jan 2008 09:28:44 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=kswFYJSO2YgD8hkEXFHFod67MIBlH5Xz//7n/jPv318AnV4S9z+I54d7kbb8u7+T/pAkKbRLZ82X/B47RLqDaWolS/WCy6kChctYm6rFlvCGX2JusN0cvXloSlzZYmu1jnk03yuljI33EWxoXOS0HAfIosfsuBhCV5k3S1h23T8= Date: Tue, 1 Jan 2008 22:28:52 +0800 From: WANG Cong To: Sam Ravnborg Cc: WANG Cong , Tim Shimmin , LKML , linux-kbuild@vger.kernel.org, Andrew Morton , viro@zeniv.linux.org.uk Subject: (Try #2) [Patch 7/8] FS: Drop 'TOPDIR' from Makefiles and remove some dead code Message-ID: <20080101142852.GG2499@hacking> Reply-To: WANG Cong References: <20080101071311.GA2496@hacking> <20080101074105.GH2496@hacking> <20080101103026.GG28913@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080101103026.GG28913@uranus.ravnborg.org> User-Agent: Mutt/1.5.14 (2007-02-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1826 Lines: 62 > >The whole "Maintainer rules" part of this file should be deleted. >I cannot see how it can be used anyway. Agreed. I delete them all and renew the patch. Passed compiling test. ---------> This patch drops TOPDIR since it's obsolete and removes some dead code from fs/smbfs/Makefile. Cc: Alexander Viro Cc: Tim Shimmin Cc: Sam Ravnborg Signed-off-by: WANG Cong --- diff --git a/fs/smbfs/Makefile b/fs/smbfs/Makefile index 6673ee8..4faf8c4 100644 --- a/fs/smbfs/Makefile +++ b/fs/smbfs/Makefile @@ -16,23 +16,3 @@ EXTRA_CFLAGS += -DSMBFS_PARANOIA #EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP #EXTRA_CFLAGS += -Werror -# -# Maintainer rules -# - -# getopt.c not included. It is intentionally separate -SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c smbiod.c request.c \ - symlink.c - -proto: - -rm -f proto.h - @echo > proto2.h "/*" - @echo >> proto2.h " * Autogenerated with cproto on: " `date` - @echo >> proto2.h " */" - @echo >> proto2.h "" - @echo >> proto2.h "struct smb_request;" - @echo >> proto2.h "struct sock;" - @echo >> proto2.h "struct statfs;" - @echo >> proto2.h "" - cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO -D__KERNEL__ $(SRC) >> proto2.h - mv proto2.h proto.h diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index 49e3e7e..d1d3d49 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -1 +1 @@ -include $(TOPDIR)/fs/xfs/Makefile-linux-$(VERSION).$(PATCHLEVEL) +include $(objtree)/fs/xfs/Makefile-linux-$(VERSION).$(PATCHLEVEL) -- 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/