mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* makefile for 2.6 kernel
@ 2006-01-04 18:23 anil dahiya
  2006-01-04 18:55 ` Sam Ravnborg
  2006-01-10 17:44 ` anil dahiya
  0 siblings, 2 replies; 6+ messages in thread
From: anil dahiya @ 2006-01-04 18:23 UTC (permalink / raw)
  To: linux-kernel, kernelnewbies

hello 
I want to make kernel module dummy.ko using multiple
.c and .h files. In short i am telling .c and .h files
with directory structure

1> dummy.ko should made be using module1.ko and
module2.o (i.e 
   module2.o uses module1.ko to make dummy.ko)

2> module1.ko made using a1/a1.c & a2/a2.c and  both
.c file   
   use /home/include/a.h 
3> module2.o should made using b/b1.c which use   
   use /home/module2/include/b.h 

Suggest me tht should make i make module2.o or
module2.ko and then combine it with module1.o to make
dummy.ko 


/home/------
             |_ include _
             |           |
             |           a.h 
             | 
             |___module1_
             |           |__ a1 ____
             |           |          | 
             |           |         a1.c 
             |           |
                         |__ a2 ____
             |           |           | 
             |           |         a2.c 
             |
             |___ moudule2_
             |             |             
             |             |__include _
             |             |           |
             |             |           b.h 
             |             |___b1__
             |                     | 
             |                   b1.c 
        
                                   
Looking forward for ur reply 
thanks in advance
---- Anil 


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-10 19:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-04 18:23 makefile for 2.6 kernel anil dahiya
2006-01-04 18:55 ` Sam Ravnborg
2006-01-06  7:20   ` Nauman Tahir
2006-01-06 15:55     ` Sam Ravnborg
2006-01-10 17:44 ` anil dahiya
2006-01-10 19:07   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®