kbuild: small documentation fix in Documentation/kbuild/modules.txt
Anton Blanchard [Tue, 20 Mar 2007 14:47:47 +0000 (09:47 -0500)]
The Makefile fragment in Documentation/kbuild/modules.txt looks to be
missing some braces.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Documentation/kbuild/modules.txt

index 769ee05..1d247d5 100644 (file)
@@ -249,7 +249,7 @@ following files:
                --> filename: Makefile
                KERNELDIR := /lib/modules/`uname -r`/build
                all::
-                       $(MAKE) -C $KERNELDIR M=`pwd` $@
+                       $(MAKE) -C $(KERNELDIR) M=`pwd` $@
 
                # Module specific targets
                genbin: