kbuild/Documentation: Incorrect makefile syntax in example
authorDavid VomLehn <dvomlehn@cisco.com>
Sun, 31 May 2009 01:13:32 +0000 (18:13 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:45 +0000 (22:37 +0200)
There is an error in the make syntax for one of the kbuild examples

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Documentation/kbuild/modules.txt

index b1096da953c8a9c5105686b7702bde502113b3d1..0767cf69c69ea9b1d0cd809460931b9a203a6b23 100644 (file)
@@ -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: