lkml.org 
[lkml]   [2007]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild: disable depmod in cross-compile kernel build
On Fri, 19 Oct 2007, Linux Kernel Mailing List wrote:
> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=50a8ec31c3a00594ceb7c5f1dcf2ecdaf6a5b847
> Commit: 50a8ec31c3a00594ceb7c5f1dcf2ecdaf6a5b847
> Parent: 6f67a00498abf8f0b29c2cecfce188c70be309d0
> Author: Sam Ravnborg <sam@neptun.(none)>
> AuthorDate: Thu Oct 18 21:24:21 2007 +0200
> Committer: Sam Ravnborg <sam@neptun.(none)>
> CommitDate: Thu Oct 18 23:17:06 2007 +0200
>
> kbuild: disable depmod in cross-compile kernel build
>
> When building embedded systems in a cross-compile environment and
> populating a target's file system image, we don't want to run the
> depmod on the host as we may be building for a completely different
> architecture. Since there's no such thing as a cross-depmod, we
> just disable running depmod in the cross-compile case and we just
> run depmod on the target at bootup.
>
> Inspired by patches from Christian, Armin and Deepak.
>
> This solves: http://bugzilla.kernel.org/show_bug.cgi?id=3881
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Christian Bjølevik <nafallo@magicalforest.se>
> Cc: Deepak Saxena <dsaxena@mvista.com> and
> Cc: Armin Kuster <akuster@mvista.com>,

Euh, is these really necessary?

At work I have no problems running depmod on an i386 system for ppc64 modules
after I installed module-init-tools 3.3-pre2 (from Debian).
I did have problems (depmod SEGV) using the depmod that came with CentOS
4 (from module-init-tools 3.1-pre5).

Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
\
 
 \ /
  Last update: 2007-10-21 19:57    [from the cache]
©2003-2011 Jasper Spaans