Messages in this thread Patch in this message |  | | Date | Tue, 07 Jan 2003 12:09:44 -0600 | From | Eli Carter <> | Subject | [PATCH] Re: [RFC] Documentation/kbuild/makefiles.txt |
| |
Sam Ravnborg wrote: > Third version with input from Randy incorporated - thanks! > Also added LDFLAGS_MODULE > > Sam > > Linux Kernel Makefiles > > This document describes the Linux kernel Makefiles.
This looks like an extremely useful document. A few suggestions attached.
HTH,
Eli --------------------. "If it ain't broke now, Eli Carter \ it will be soon." -- crypto-gram eli.carter(a)inet.com `------------------------------------------------- --- makefiledoc.txt.orig Tue Jan 7 11:43:23 2003 +++ makefiledoc.txt Tue Jan 7 12:05:13 2003 @@ -438,7 +438,7 @@ --- 4.3 Defining shared libraries - Objects with extension .so is considered shared libraries, and will + Objects with extension .so are considered shared libraries, and will be compiled as position independent objects. Kbuild provides support for shared libraries, but the usage shall be restricted. @@ -514,7 +514,7 @@ as a prerequisite. This is possible in two ways: - (1) List the prerequisite explicit in a special rule. + (1) List the prerequisite explicitly in a special rule. Example: #drivers/pci/Makefile @@ -522,7 +522,7 @@ $(obj)/devlist.h: $(src)/pci.ids $(obj)/gen-devlist ( cd $(obj); ./gen-devlist ) < $< - The target $(obj)/devlist.h will not be build before + The target $(obj)/devlist.h will not be built before $(obj)/gen-devlist is updated. Note that references to the host programs in special rules must be prefixed with $(obj). |  |