[PATCH] Re: [RFC] Documentation/kbuild/makefiles.txt

Eli Carter (eli.carter@inet.com)
Tue, 07 Jan 2003 12:09:44 -0600


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-1512-1041963074-0001-2
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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 `-------------------------------------------------

--=_courier-1512-1041963074-0001-2
Content-Type: text/plain; name=patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch"

--- 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).

--=_courier-1512-1041963074-0001-2--