Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[firefly-linux-kernel-4.4.55.git] / Documentation / kbuild / modules.txt
index 1821c077b435cd64eac847dc1ec69d5386dc6ad6..0767cf69c69ea9b1d0cd809460931b9a203a6b23 100644 (file)
@@ -253,7 +253,7 @@ following files:
 
                # Module specific targets
                genbin:
-                       echo "X" > 8123_bin_shipped
+                       echo "X" > 8123_bin.o_shipped
 
 
        In example 2, we are down to two fairly simple files and for simple
@@ -275,11 +275,11 @@ following files:
 
                KERNELDIR := /lib/modules/`uname -r`/build
                all::
-                       $(MAKE) -C $KERNELDIR M=`pwd` $@
+                       $(MAKE) -C $(KERNELDIR) M=`pwd` $@
 
                # Module specific targets
                genbin:
-                       echo "X" > 8123_bin_shipped
+                       echo "X" > 8123_bin.o_shipped
 
                endif