xfs-masters
[Top] [All Lists]

[xfs-masters] [Patch 7/8] FS: Remove 'TOPDIR' from Makefiles

To: Tim Shimmin <xfs-masters@xxxxxxxxxxx>
Subject: [xfs-masters] [Patch 7/8] FS: Remove 'TOPDIR' from Makefiles
From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Date: Tue, 1 Jan 2008 15:41:05 +0800
Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Sam Ravnborg <sam@xxxxxxxxxxxx>, linux-kbuild@xxxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxx>, viro@xxxxxxxxxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=68mwV+5gTRGyQuQgtqCpjcz/Bz5v4bBlRv/Y4DqBaa8=; b=OY2FlmxV1yBy1RbZSR4DJO7XnjBUmCaemle+MExjuzlwKe3HKaBnsXYIbTaDqXO7pfeg539389v8uttfxtRmBEzAvk3uk6rFbg3JMshZkfzjmDbY+Lkrj0Q92MAfjFHKrBfAZKTtJRgRtsnIyqKefqxuIJ/tjLMgxAKL0TE3aAg=
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=TbijHAE4/QoKCoP7aNp7twD0acUyZLO18Oxh3V4toPpR0hW6Jp7gtTJ8DU7qaaZlu1xTU81myU3yzF5tuimFDlreSAfUxIzNk91SszpFdp65ErNG2cbSiXg9Jq+6mrDTv2QiO5O14CbCDnlQmpKjEpyVKeFbkU2yB4seT8XrA0o=
In-reply-to: <20080101071311.GA2496@hacking>
References: <20080101071311.GA2496@hacking>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.14 (2007-02-12)
TOPDIR is obsolete, use objtree instead.
This patch removes TOPDIR from all fs/ Makefiles.

Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Tim Shimmin <xfs-masters@xxxxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

---

diff --git a/fs/smbfs/Makefile b/fs/smbfs/Makefile
index 6673ee8..9b5e92b 100644
--- a/fs/smbfs/Makefile
+++ b/fs/smbfs/Makefile
@@ -34,5 +34,5 @@ proto:
        @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
+       cproto -E "gcc -E" -e -v -I $(objtree)/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)


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Patch 7/8] FS: Remove 'TOPDIR' from Makefiles, WANG Cong <=