public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: George Spelvin <linux@horizon.com>, linux-kbuild@vger.kernel.org
Subject: Re: Searching for insight into lib-y and lib-m
Date: Sun, 11 May 2014 08:34:20 -0400	[thread overview]
Message-ID: <20140511123420.GA22945@htj.dyndns.org> (raw)
In-Reply-To: <536EFC71.3070209@infradead.org>

On Sat, May 10, 2014 at 09:28:33PM -0700, Randy Dunlap wrote:
> > Documentation/kbuild/makefiles.txt suggests that CONFIG_GLOB=m would
> > be synonymous with CONFIG_GLOB=y in this case, so the net effect would
> > be identical to case 3.  Am I right?
> > 
> 
> 'git log lib/Makefile' shows me patches that I have submitted where
> kernel modules were built as loadable modules (=m) and library code was
> built but then apparently discarded, so the "driver" modules could not
> load (were missing some needed symbols).

Shouldn't we fix that?  At least for in-kernel modules?

> See fcd40d69afea8700eda8cbf381f6d160cf757ebf
> and b4d3ba3346f092b9185da991414775281ceacaac.
> I'm sure that there have been others that were similar.
> These are just the most recent two patches in that category.
> > 
> > May I humbly beg some guidance as to the best way to proceed?  My current code
> > takes option 2 and builds its own module if CONFIG_ATA=m, but people are asking if
> > that's really necessary.
> 
> I don't see a problem with that, but Michal should be able to speak about that.

It's more cumbersome and involved.  It's kinda sad to have to do this
because our lib-* can't handle in-kernel modules.

Thanks.

-- 
tejun

  parent reply	other threads:[~2014-05-11 12:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-11  2:24 Searching for insight into lib-y and lib-m George Spelvin
2014-05-11  4:28 ` Randy Dunlap
2014-05-11  5:02   ` [PATCH] Documentation/kbuild/makefiles.txt: Improve description of lib-* targets George Spelvin
2014-05-14 21:21     ` Randy Dunlap
2014-05-16 10:14       ` Sam Ravnborg
2014-05-16 10:32         ` George Spelvin
2014-06-10 12:47         ` Michal Marek
2014-06-08  4:35       ` George Spelvin
2014-05-11 12:34   ` Tejun Heo [this message]
2014-05-11  7:31 ` Searching for insight into lib-y and lib-m Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140511123420.GA22945@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux@horizon.com \
    --cc=rdunlap@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox