mrg@ wrote: > > > to the PowerPC Virtex that lives in arch/evbppc/virtex. > > > > BTW evbppc has 405 vs oea issue in module. > > i have a solution for this i haven't implemented. it basically > involves two things: > > - allow a different subdir in the module dir > > - re-use the src/compat framework to build multiple > versions of modules and make sure we use the first > part to choose the right one
To build module binaries it might work, but how can kernels (and bootloaders) choose subdir in /stand to load modules per machine? Introduce a new variable ${MACHINE_KERNEL_ARCH} etc? I considered the similar idea for sun3/sun3x, but I realized that module binaries could be shared among sun3/sun3x kernels even though their TEXTADDR values were different. (kobj_reloc() handles it) BTW, is anyone working on arch/mips/mips/kobj_machdep.c? Currently no MD kobj(9) functions for module(7) on mips. (and there is no kobj(9) man pages ;-p) --- Izumi Tsutsui