[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0710211948450.6155@anakin>
Date: Sun, 21 Oct 2007 19:53:43 +0200 (CEST)
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Linux Kernel Development <linux-kernel@...r.kernel.org>,
Christian Bjølevik <nafallo@...icalforest.se>,
Deepak Saxena <dsaxena@...sta.com>,
Armin Kuster <akuster@...sta.com>,
Adrian Bunk <bunk@...nel.org>
Subject: Re: 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@...tun.(none)>
> AuthorDate: Thu Oct 18 21:24:21 2007 +0200
> Committer: Sam Ravnborg <sam@...tun.(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@...nborg.org>
> Cc: Christian Bjølevik <nafallo@...icalforest.se>
> Cc: Deepak Saxena <dsaxena@...sta.com> and
> Cc: Armin Kuster <akuster@...sta.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@...ux-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
Powered by blists - more mailing lists