[Buildroot] Modules architecture

Lionel Landwerlin llandwerlin at gmail.com
Wed Mar 3 10:54:22 UTC 2010


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 at 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
>


More information about the buildroot mailing list