You are not logged in.
I've thought on making a small PKGBUILD for AcerHK (acer HotKey driver, actually i need this to get my extra-keys working on my NoteBook).
Is there any commmon way or posibility to provide a kerneldriver for more than one architecture. I mean - it of course compiles for every kernel, but i'd need to do an install script copying it to /lib/modules/uname -r/extra. But that would also copy a driver NOT built for the kernel version.
How's the "arch" way of it?
// STi
Ability is nothing without opportunity.
Offline
Assuming that you make your package for the default Arch kernel(s) then it's just a matter of using proper minimum version dependencies in the pkgbuild, and hardcode the /lib/modules/* dir because that depends on your driver and not on the currently running kernel.
You'd probably make multiple version of your package in the same way as there are multiple versions ofr Linux kernels now. So different ones for the 2.4 and 2.6 kernels, and with or without scsi (same for -mm etc).
Offline