]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/kbuild/modules.txt
Merge branch 'x86/mm' into core/percpu
[linux-2.6-omap-h63xx.git] / Documentation / kbuild / modules.txt
index 1d247d59ad56fd57254c3bc5ec5e8c7b3291ed58..b1096da953c8a9c5105686b7702bde502113b3d1 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
@@ -279,7 +279,7 @@ following files:
 
                # Module specific targets
                genbin:
-                       echo "X" > 8123_bin_shipped
+                       echo "X" > 8123_bin.o_shipped
 
                endif
 
@@ -486,7 +486,7 @@ Module.symvers contains a list of all exported symbols from a kernel build.
        Sometimes, an external module uses exported symbols from another
        external module. Kbuild needs to have full knowledge on all symbols
        to avoid spitting out warnings about undefined symbols.
-       Two solutions exist to let kbuild know all symbols of more than
+       Three solutions exist to let kbuild know all symbols of more than
        one external module.
        The method with a top-level kbuild file is recommended but may be
        impractical in certain situations.
@@ -523,6 +523,13 @@ Module.symvers contains a list of all exported symbols from a kernel build.
                containing the sum of all symbols defined and not part of the
                kernel.
 
+       Use make variable KBUILD_EXTRA_SYMBOLS in the Makefile
+               If it is impractical to copy Module.symvers from another
+               module, you can assign a space separated list of files to
+               KBUILD_EXTRA_SYMBOLS in your Makfile. These files will be
+               loaded by modpost during the initialisation of its symbol
+               tables.
+
 === 8. Tips & Tricks
 
 --- 8.1 Testing for CONFIG_FOO_BAR