[Buildroot] [PATCH 2 of 2] kmod: add patches to support build on Redhat 5

Peter Korsgaard jacmet at uclibc.org
Mon Sep 29 10:34:30 UTC 2014


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:

Hi,

 >> > +-   sig_len = be32toh(get_unaligned(&modsig->sig_len));
 >> > ++   sig_len = bswap_32(get_unaligned(&modsig->sig_len));
 >> 
 >> Ehh, so what happens when we want to build kmod for a big endian target?

 > Hmm, indeed, that doesn't seem right.
 > I found another patch that looks better [1], sent to the linux-modules
 > mailing list in September 2013, received some comments and a v2 was
 > promised but never arrived (AFAICS). I will adopt the patch and fix
 > the comments, then resend to buildroot + linux-modules.

 > [1] http://www.spinics.net/lists/linux-modules/msg01127.html

Thanks, that patch (+ suggested changes) looks sensible to me.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list