diff mbox

documentation:kbuild Incorrect makefile syntix in examnple

Message ID 20090531011332.GA13205@cuplxvomd02.corp.sa.net (mailing list archive)
State New, archived
Headers show

Commit Message

David VomLehn (dvomlehn) May 31, 2009, 1:13 a.m. UTC
There is an error in the make syntax for one of the kbuild examples. This
fixes it.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
---
 Documentation/kbuild/modules.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/kbuild/modules.txt b/Documentation/kbuild/modules.txt
index b1096da..0767cf6 100644
--- a/Documentation/kbuild/modules.txt
+++ b/Documentation/kbuild/modules.txt
@@ -275,7 +275,7 @@  following files:
 
 		KERNELDIR := /lib/modules/`uname -r`/build
 		all::
-			$(MAKE) -C $KERNELDIR M=`pwd` $@
+			$(MAKE) -C $(KERNELDIR) M=`pwd` $@
 
 		# Module specific targets
 		genbin: