From patchwork Tue May 11 18:43:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: matt mooney X-Patchwork-Id: 98806 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4BIjPCj013658 for ; Tue, 11 May 2010 18:45:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757202Ab0EKSpu (ORCPT ); Tue, 11 May 2010 14:45:50 -0400 Received: from qmta09.emeryville.ca.mail.comcast.net ([76.96.30.96]:58822 "EHLO qmta09.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757027Ab0EKSpt (ORCPT ); Tue, 11 May 2010 14:45:49 -0400 Received: from omta01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by qmta09.emeryville.ca.mail.comcast.net with comcast id GC891e0050EPchoA9JlpJP; Tue, 11 May 2010 18:45:49 +0000 Received: from haskell.muteddisk.com ([98.239.78.58]) by omta01.emeryville.ca.mail.comcast.net with comcast id GJlp1e0011FUwZe8MJlpun; Tue, 11 May 2010 18:45:49 +0000 Received: by haskell.muteddisk.com (Postfix, from userid 1000) id 222C641230; Tue, 11 May 2010 11:43:33 -0700 (PDT) From: matt mooney To: Randy Dunlap , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, mec@shout.net, kai@tp1.ruhr-uni-bochum.de, sam@ravnborg.org, jengelh@gmx.de Subject: [PATCH 2/3 v2] kbuild/makefiles.txt: Fix examples Date: Tue, 11 May 2010 11:43:33 -0700 Message-Id: <1273603413-20647-1-git-send-email-mfm@muteddisk.com> X-Mailer: git-send-email 1.6.4.2 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 11 May 2010 18:45:50 +0000 (UTC) diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index b25507d..6004671 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt @@ -168,7 +168,7 @@ more details, with real examples. #drivers/isdn/i4l/Makefile # Makefile for the kernel ISDN subsystem and device drivers. # Each configuration option enables a list of files. - obj-$(CONFIG_ISDN) += isdn.o + obj-$(CONFIG_ISDN_I4L) += isdn.o obj-$(CONFIG_ISDN_PPP_BSDCOMP) += isdn_bsdcomp.o --- 3.3 Loadable module goals - obj-m @@ -245,12 +245,12 @@ more details, with real examples. may contain both a built-in.o and a lib.a file. Example: - #arch/i386/lib/Makefile - lib-y := checksum.o delay.o + #arch/x86/lib/Makefile + lib-y := delay.o - This will create a library lib.a based on checksum.o and delay.o. - For kbuild to actually recognize that there is a lib.a being built, - the directory shall be listed in libs-y. + This will create a library lib.a based on delay.o. For kbuild to + actually recognize that there is a lib.a being built, the directory + shall be listed in libs-y. See also "6.3 List directories to visit when descending". Use of lib-y is normally restricted to lib/ and arch/*/lib.