Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Why linux26-modules before linux26
@ 2008-08-02  4:34 Brian Beattie
  2008-08-04 13:01 ` Bernhard Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Beattie @ 2008-08-02  4:34 UTC (permalink / raw)
  To: buildroot

I have a kernel that does not want to compile the modules before the
rest of the kernel.  I've worked around that, but it does raise a
question that maybe somebody knows the answer to, why are the makefiles
set  to compile the kernel-modules so early compared to the rest of the
kernel?
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?

Brian Beattie   LFS12947 | "Honor isn't about making the right choices.
beattie at beattie-home.net | It's about dealing with the consequences."
www.beattie-home.net     | -- Midori Koto

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Why linux26-modules before linux26
  2008-08-02  4:34 [Buildroot] Why linux26-modules before linux26 Brian Beattie
@ 2008-08-04 13:01 ` Bernhard Fischer
  2008-08-04 13:02   ` Robert P. J. Day
  2008-08-04 13:31   ` sjhill at realitydiluted.com
  0 siblings, 2 replies; 4+ messages in thread
From: Bernhard Fischer @ 2008-08-04 13:01 UTC (permalink / raw)
  To: buildroot

On Fri, Aug 01, 2008 at 09:34:36PM -0700, Brian Beattie wrote:
>I have a kernel that does not want to compile the modules before the
>rest of the kernel.  I've worked around that, but it does raise a
>question that maybe somebody knows the answer to, why are the makefiles
>set  to compile the kernel-modules so early compared to the rest of the
>kernel?

This was added by Steven, IIRC. I don't see a reason why the modules are
built before the kernel.

Steven, can you please explain?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Why linux26-modules before linux26
  2008-08-04 13:01 ` Bernhard Fischer
@ 2008-08-04 13:02   ` Robert P. J. Day
  2008-08-04 13:31   ` sjhill at realitydiluted.com
  1 sibling, 0 replies; 4+ messages in thread
From: Robert P. J. Day @ 2008-08-04 13:02 UTC (permalink / raw)
  To: buildroot

On Mon, 4 Aug 2008, Bernhard Fischer wrote:

> On Fri, Aug 01, 2008 at 09:34:36PM -0700, Brian Beattie wrote:
> >I have a kernel that does not want to compile the modules before
> >the rest of the kernel.  I've worked around that, but it does raise
> >a question that maybe somebody knows the answer to, why are the
> >makefiles set to compile the kernel-modules so early compared to
> >the rest of the kernel?
>
> This was added by Steven, IIRC. I don't see a reason why the modules
> are built before the kernel.
>
> Steven, can you please explain?

why should it make a difference?  shouldn't kernel modules be
buildable independently from the kernel proper?  AFAIK, all that's
required of the kernel tree is to do the equivalent of "make
modules_prepare", no?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Why linux26-modules before linux26
  2008-08-04 13:01 ` Bernhard Fischer
  2008-08-04 13:02   ` Robert P. J. Day
@ 2008-08-04 13:31   ` sjhill at realitydiluted.com
  1 sibling, 0 replies; 4+ messages in thread
From: sjhill at realitydiluted.com @ 2008-08-04 13:31 UTC (permalink / raw)
  To: buildroot

> On Fri, Aug 01, 2008 at 09:34:36PM -0700, Brian Beattie wrote:
> >I have a kernel that does not want to compile the modules before the
> >rest of the kernel.  I've worked around that, but it does raise a
> >question that maybe somebody knows the answer to, why are the makefiles
> >set  to compile the kernel-modules so early compared to the rest of the
> >kernel?
> 
> This was added by Steven, IIRC. I don't see a reason why the modules are
> built before the kernel.
> 
> Steven, can you please explain?
>
Originally when I added that, the modules were getting built and
installed after the root file system image had been created. Thus,
no modules in the final image. If someone has a better method of
doing this, please feel free to submit a patch.

-Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-04 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02  4:34 [Buildroot] Why linux26-modules before linux26 Brian Beattie
2008-08-04 13:01 ` Bernhard Fischer
2008-08-04 13:02   ` Robert P. J. Day
2008-08-04 13:31   ` sjhill at realitydiluted.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox