[okl4-developer] adding a wombat driver

Jorge Torres jorge.torres.maldonado at gmail.com
Sun Aug 5 14:02:24 EST 2007


Hi okl4.org,

I'm trying to add a new driver to the wombat system, but I can't make the
build system to add it to the kernel, this is what I do:

*created a new dir linux/kernel/drivers/testdrv
*on linux/kernel/drivers/Kconfig
[+] source "drivers/testdrv/Kconfig"
*on linux/kernel/drivers/Makefile
[+] obj-$(CONFIG_TESTDRV) += testdrv/
*on linux/kernel/drivers/testdrv/Makefile
obj-$(CONFIG_TESTDRV)+= testdrv.o
*on linux/kernel/drivers/testdrv/testdrv.c I have a very simple init-module
and cleanup_module code
*on linux/kernel/l4linux_config_ia32
[+] CONFIG_TESTDRV=y
*on linux/kernel/drivers/testdrv/Kconfig
menu "testdrv"
config TESTDRV
trstate "testdrv"
---help---
blah
endmenu


I guess that's all, does someone knows how can I get this driver to get
included onto the system?.

Thank you very much,

Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070804/422cf1ae/attachment.htm 


More information about the Developer mailing list