Skip to contentSkip to conversation

small documentation fix in Documentation/kbuild/modules.txt

PATCH In review Anton Blanchard 2 participants 2 messages Mar 20, 2007 – Mar 23, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small documentation fix in Documentation/kbuild/modules.txt

The Makefile fragment in Documentation/kbuild/modules.txt looks to be missing some braces.

---

Documentation/kbuild/modules.txt +1 -1
index 769ee05..1d247d5 100644
@@ -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:
#1 lore raw
Quoted 3 lines · Anton Blanchard

The Makefile fragment in Documentation/kbuild/modules.txt looks to be missing some braces.

Applied - thanks,

Sam