[Buildroot] Why linux26-modules before linux26

Robert P. J. Day rpjday at crashcourse.ca
Mon Aug 4 13:02:57 UTC 2008

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?


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

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

More information about the buildroot mailing list