linux-mod_src_compile should pass an ARCH argument on make command line when it builds the kernel modules (for instance, if the arch is x86, the emake command line should contain ARCH=i386). I use an amd64 machine to build binary packages (in a chrooted env) for several server configurations using x86 architecture, which now fails to build the kernel module of the media-libs/svgalib-1.9.21-r1 package.
Created attachment 68744 [details] linux-mod.eclass Can you please try this eclass out and let me know if it works for you. Please test in both the chrooted x86 env. and also the x86_64 host env. Thanks
You've made a mistake. You should use tc-arch-kernel function, not tc-arch. Given the above correction, the results of the tests are: - in chrooted x86 env, I have upgraded to media-libs/svgalib-1.9.21-r1 successfully - in normal amd64 env, I managed to merge net-dialup/eagle-usb successfully (svgalib is masked by -*)
So I did :) OK, I'll get these in tonight.
in cvs