View Single Post

  #1 (permalink)  
Old 06-28-2007, 12:22 PM
amimargo amimargo is offline
Junior Member
User
 
Join Date: Jun 2007
My distro: Debian
Posts: 2
Rep Power: 0
amimargo is on a distinguished road
Default Need Help ....What is 'obj-m = hello.o'

Hello friends
I use the following lines many times in makefile - while building kernel module-
......
obj-m = hello.o
..........

where hello.o is my kernel module name.

Can anybody explain me why ' obj-m= ' is used ? I tried to find out in Linux Device Driver Book.But the book only says ' ...using gcc make extension... ' .
If anybody has any idea please explain .


Reply With Quote