patch-2.4.0-test11 linux/Documentation/kbuild/makefiles.txt

Next file: linux/Documentation/networking/bridge.txt
Previous file: linux/Documentation/isdn/README.icn
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/Documentation/kbuild/makefiles.txt linux/Documentation/kbuild/makefiles.txt
@@ -640,6 +640,12 @@
 	but then you will notice a lot of extra compiles when you edit
 	any source file.  Blame CONFIG_MODVERSIONS for this.]
 
+	Data that is passed to other objects via registration functions
+	(e.g. pci_register_driver, pm_register) does not need to be marked
+	as EXPORT_SYMBOL.  The objects that pass data via registration
+	functions do not need to be marked as OX_OBJS, unless they also have
+	exported symbols.
+
 	Rules.make compiles all the $(O_OBJS) and $(OX_OBJS) files.
 	It then calls "$(LD) -r" to merge these files into one .o file
 	with the name $(O_TARGET).  This $(O_TARGET) name also appears

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)