From: murtuja bharmal <murtuja_bharmal@yahoo.com>
To: murtuja bharmal <murtuja_bharmal@yahoo.com>,
linux-kbuild@vger.kernel.org
Subject: Re: kbuild output file.
Date: Thu, 15 May 2008 20:07:47 +0530 (IST) [thread overview]
Message-ID: <906362.445.qm@web95106.mail.in2.yahoo.com> (raw)
Sorry Makefile is like this
dir
|
--------------------------------------
| | | |
dir1 dir2 dir3 dir4
This 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.
----- Original Message ----
From: murtuja bharmal <murtuja_bharmal@yahoo.com>
To: linux-kbuild@vger.kernel.org
Sent: Thursday, 15 May, 2008 6:35:16 PM
Subject: kbuild output file.
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 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.
Thansk
Murtuja Bharmal
From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Has your work life balance shifted? Find out - http://in.search.yahoo.com/search?&fr=na_onnetwork_mail_taglines&ei=UTF-8&rd=r1&p=work+life+balance
next reply other threads:[~2008-05-15 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 14:37 murtuja bharmal [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-15 13:05 kbuild output file murtuja bharmal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=906362.445.qm@web95106.mail.in2.yahoo.com \
--to=murtuja_bharmal@yahoo.com \
--cc=linux-kbuild@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox