* [Buildroot] Modules architecture
@ 2010-03-03 10:51 Sergey Naumov
2010-03-03 10:54 ` Lionel Landwerlin
2010-03-03 15:03 ` Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: Sergey Naumov @ 2010-03-03 10:51 UTC (permalink / raw)
To: buildroot
Hello.
There is a problem with kernel building when .config contains processor
architecture that differs from BR2_ARCH. Then kernel will have architecture
as in BR2_ARCH and modules as in .config.
Expectable behavior is to apply BR2_ARCH to both of them, or ignore it.
As a result of the current implementation I got "invalid module format" for
all modules compiled with the kernel.
What should I do to avoid it "through buildroot configs", but not through
changing architecture in kernel config?
Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100303/7a0395e9/attachment.htm>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Modules architecture
2010-03-03 10:51 [Buildroot] Modules architecture Sergey Naumov
@ 2010-03-03 10:54 ` Lionel Landwerlin
2010-03-03 13:13 ` Sergey Naumov
2010-03-03 15:03 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Lionel Landwerlin @ 2010-03-03 10:54 UTC (permalink / raw)
To: buildroot
Use KERNEL_ARCH variable.
It's computed from BR2_ARCH in buildroot's makefiles.
--
Lionel
On Wed, Mar 3, 2010 at 11:51 AM, Sergey Naumov <sknaumov@gmail.com> wrote:
> Hello.
> There is a problem with kernel building when .config contains processor
> architecture that differs from BR2_ARCH. Then kernel will have architecture
> as in BR2_ARCH and modules as in?.config.
> Expectable behavior is to apply BR2_ARCH to both of them, or ignore it.
> As a result of the current implementation I got "invalid module format" for
> all modules compiled with the kernel.
> What should I do to avoid it "through buildroot configs", but not through
> changing architecture in kernel config?
> Sergey.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Modules architecture
2010-03-03 10:51 [Buildroot] Modules architecture Sergey Naumov
2010-03-03 10:54 ` Lionel Landwerlin
@ 2010-03-03 15:03 ` Thomas Petazzoni
2010-03-03 15:46 ` Sergey Naumov
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2010-03-03 15:03 UTC (permalink / raw)
To: buildroot
On Wed, 3 Mar 2010 13:51:05 +0300
Sergey Naumov <sknaumov@gmail.com> wrote:
> There is a problem with kernel building when .config contains
> processor architecture that differs from BR2_ARCH. Then kernel will
> have architecture as in BR2_ARCH and modules as in .config.
> Expectable behavior is to apply BR2_ARCH to both of them, or ignore
> it.
>
> As a result of the current implementation I got "invalid module
> format" for all modules compiled with the kernel.
>
> What should I do to avoid it "through buildroot configs", but not
> through changing architecture in kernel config?
Could you give a specific configuration example with which you have
problem ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-04 15:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 10:51 [Buildroot] Modules architecture Sergey Naumov
2010-03-03 10:54 ` Lionel Landwerlin
2010-03-03 13:13 ` Sergey Naumov
2010-03-03 15:03 ` Thomas Petazzoni
2010-03-03 15:46 ` Sergey Naumov
2010-03-04 15:52 ` Sergey Naumov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox