On 1 August 2013 17:37, Andrey Borzenkov
В Thu, 1 Aug 2013 15:55:07 +0100 Andrew Wafaa
пишет: On 1 August 2013 15:33, Greg KH
wrote: On Thu, Aug 01, 2013 at 03:11:43PM +0100, Andrew Wafaa wrote:
Aloha,
I need to build an out of tree, closed, kernel driver and there is a kernel on OBS that fits my target. How to I create a configured source tree from that project so that I can build the driver?
Heh, you are on your own here, and you deserve all the pain and suffering you will get :)
Yeah I know, and I'm going to make sure I pass that suffering on :)
Seriously, you should just be able to install the kernel-source package and then point your driver's build system at that tree. Note, closed driver build systems are normally horrible to work, so that might be the issues you are running into, but as you didn't say what the problem is, it's hard to guess...
That's what I thought, but when I point the driver to the tree it complaions of no .config. So is there a way of getting the kernel source tree into a state as if I had just run 'make config'? So the linux-$FOO.tar.bz2 + patches applied + config.
That is what kernel-${flavor}-devel packages are for.
Ah, OK thanks for that. I'll give it a whirl and see what happens then. Thanks!
Actually, shouldn't you be asking the company who gave you that driver as to how to build it?
I've got the instructions which point me to an specific tree, I want to be able to build this and show it running on openSUSE as we have everything else already working apart from this driver - heck it may even give the company the push it needs to either open up or help more with the community.
good luck, you will need it...
You fill me with confidence ;)
Regards,
Andy
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org