It is possible to write device driver without installing and compiling
the full kernel source. But there is a disadvantage, with this method
as any changes to the kernel ( eg: enable lguest etc ...) will not be
possible. For changes to kernel options you will have to install the
full kernel source. And do the cycle of make ; make install ; make modules
etc...
Ok , back to topic. Quick way to write device driver....
; install few packages
# apt get install make build-essential exuberant-ctags libncurses5-dev
; get your kernel version
# uname -r
; install kernel headers
# apt-get install linux-headers-(
No comments:
Post a Comment