public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kbuild Makefile output
@ 2008-05-15 17:37 murtuja bharmal
  2008-05-15 17:42 ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: murtuja bharmal @ 2008-05-15 17:37 UTC (permalink / raw)
  To: linux-kernel

Hello All.
I want to collect all my object file in onedirectory and then want to create a kernel module.
For example: This my directory structure.
dir
|
--------------------------------------
|            |        |        |
dir1    dir2       dir3   dir4
This is my makefile in 'dir'.
obj-m := test.o
test-objs += \
                dir1/test1.o  \
                dir2/test2.o  \
                dir3/test3.o
all:
            make -C /usr/src/linux M=`pwd` modules

Now I want to save all output objectfile test1.o test2.o test3.o in one directory
called 'dir4' not in source directory. 'test.o' should look all this object file in 'dir4' for linking, not in the source directory and 'test.ko' should also be create in 'dir4'.
Can any one tell me, what is require changes in Kernel Makefile for the same.

Thanks
Murtuja



      Share files, take polls, and make new friends - all under one roof. Go to http://in.promos.yahoo.com/groups/

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

end of thread, other threads:[~2008-05-15 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 17:37 Kbuild Makefile output murtuja bharmal
2008-05-15 17:42 ` Sam Ravnborg
2008-05-15 18:01   ` murtuja bharmal
2008-05-15 18:31   ` murtuja bharmal
2008-05-15 20:58     ` Joel Becker

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