[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1284964412-32211-1-git-send-email-mfm@muteddisk.com>
Date: Sun, 19 Sep 2010 23:33:32 -0700
From: matt mooney <mfm@...eddisk.com>
To: Michal Marek <mmarek@...e.cz>, Randy Dunlap <rdunlap@...otime.net>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [PATCH] Documentation/kbuild: correct variable definitions in makefiles.txt
Change $(src) and $(obj) definitions to state the path as absolute and
not relative.
Signed-off-by: matt mooney <mfm@...eddisk.com>
---
Hmm, this file is also _full_ of bad grammar and might be out of date FAIK.
If you would like it updated/corrected, please let me know. I don't mind doing
this, but only if it is beneficial and wanted.
Documentation/kbuild/makefiles.txt | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index c787ae5..fe162f5 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -376,14 +376,13 @@ more details, with real examples.
Two variables are used when defining special rules:
$(src)
- $(src) is a relative path which points to the directory
- where the Makefile is located. Always use $(src) when
- referring to files located in the src tree.
+ The absolute path to the directory where the makefile is
+ located. Always use $(src) when referring to files located
+ in the src directory.
$(obj)
- $(obj) is a relative path which points to the directory
- where the target is saved. Always use $(obj) when
- referring to generated files.
+ The absolute path to the directory where the target is saved.
+ Always use $(obj) when referring to generated files.
Example:
#drivers/scsi/Makefile
--
1.7.2.1
--
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