* [KJ] Question re make
@ 2005-10-08 17:02 Felix Oxley
2005-10-08 18:01 ` Nish Aravamudan
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Felix Oxley @ 2005-10-08 17:02 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
I want to test a fix that I have made to a particular file.
However:
# dell:/usr/src/linux-2.6.13.2-2 # make drivers/telephony/ixj.c
make: Nothing to be done for `drivers/telephony/ixj.c'.
and:
# dell:/usr/src/linux-2.6.13.2-2 # make drivers/telephony
make: Nothing to be done for `drivers/telephony'.
and
# cc driver/telephony/ixj.cjust gives hundreds of errors.
I have done make clean (and even make mrproper) .
How can I compile just this module?
thanks,
Felix
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [KJ] Question re make
2005-10-08 17:02 [KJ] Question re make Felix Oxley
@ 2005-10-08 18:01 ` Nish Aravamudan
2005-10-08 19:08 ` Felix Oxley
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Nish Aravamudan @ 2005-10-08 18:01 UTC (permalink / raw)
To: kernel-janitors
On 10/8/05, Felix Oxley <lkml@oxley.org> wrote:
>
> I want to test a fix that I have made to a particular file.
>
> However:
> # dell:/usr/src/linux-2.6.13.2-2 # make drivers/telephony/ixj.c
> make: Nothing to be done for `drivers/telephony/ixj.c'.
You are "make"ing an object file, not a .c file. Makefiles' syntax is
for the target, not the source.
make drivers/telephony/ixj.o
> and:
> # dell:/usr/src/linux-2.6.13.2-2 # make drivers/telephony
> make: Nothing to be done for `drivers/telephony'.
Please read the Makefile before posting.
make M=drivers/telephony
> and
> # cc driver/telephony/ixj.cjust gives hundreds of errors.
This is just plain silly and why we have a Makefile system in the first place.
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [KJ] Question re make
2005-10-08 17:02 [KJ] Question re make Felix Oxley
2005-10-08 18:01 ` Nish Aravamudan
@ 2005-10-08 19:08 ` Felix Oxley
2005-10-09 5:08 ` Nishanth Aravamudan
2005-10-10 21:15 ` lounprime
3 siblings, 0 replies; 5+ messages in thread
From: Felix Oxley @ 2005-10-08 19:08 UTC (permalink / raw)
To: kernel-janitors
> You are "make"ing an object file, not a .c file. Makefiles' syntax is
> for the target, not the source.
>
> make drivers/telephony/ixj.o
>
I had tried this all ready and forgot to mention it, but it didn't work at the
time.
>
> Please read the Makefile before posting.
>
Which file should I read?
> make M=drivers/telephony
>
This does the trick!
> > and
> > # cc driver/telephony/ixj.cjust gives hundreds of errors.
>
> This is just plain silly and why we have a Makefile system in the first
> place.
>
I know, but I was just trying to exaplan all the methods I had tried.
I think I must have cocked something up before but it is better now.
Thanks for your help.
Felix
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [KJ] Question re make
2005-10-08 17:02 [KJ] Question re make Felix Oxley
2005-10-08 18:01 ` Nish Aravamudan
2005-10-08 19:08 ` Felix Oxley
@ 2005-10-09 5:08 ` Nishanth Aravamudan
2005-10-10 21:15 ` lounprime
3 siblings, 0 replies; 5+ messages in thread
From: Nishanth Aravamudan @ 2005-10-09 5:08 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
On 08.10.2005 [20:08:03 +0100], Felix Oxley wrote:
>
> > You are "make"ing an object file, not a .c file. Makefiles' syntax is
> > for the target, not the source.
> >
> > make drivers/telephony/ixj.o
> >
> I had tried this all ready and forgot to mention it, but it didn't work at the
> time.
Were you trying to build ixj as a module? You might have needed
make drivers/telephony/ixj.ko
Not sure, though.
> > Please read the Makefile before posting.
> >
> Which file should I read?
The top-level Makefile gives a good overview of available
targets/syntax. The drivers/telephony/Makefile probably has some
indication of available targets specific to that directory.
> > make M=drivers/telephony
> >
>
> This does the trick!
Great!
> > > and
> > > # cc driver/telephony/ixj.cjust gives hundreds of errors.
> >
> > This is just plain silly and why we have a Makefile system in the first
> > place.
> >
> I know, but I was just trying to exaplan all the methods I had tried.
> I think I must have cocked something up before but it is better now.
Glad you got it figured out.
Thanks,
Nish
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [KJ] Question re make
2005-10-08 17:02 [KJ] Question re make Felix Oxley
` (2 preceding siblings ...)
2005-10-09 5:08 ` Nishanth Aravamudan
@ 2005-10-10 21:15 ` lounprime
3 siblings, 0 replies; 5+ messages in thread
From: lounprime @ 2005-10-10 21:15 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1.1: Type: text/plain, Size: 1722 bytes --]
obj-m += ixj.o
all:
make -C /<blah>/<blah>/kernel-2.6.11/linux M=$(PWD)
modules
Try adding this to your standalone make file. I hope this answers
your question.
LouNprime@aol.com
/Lou:-)
-----Original Message-----
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: Felix Oxley <lkml@oxley.org>
Cc: kernelnewbies@nl.linux.org; kernel-janitors@lists.osdl.org
Sent: Sat, 8 Oct 2005 22:08:13 -0700
Subject: Re: [KJ] Question re make
On 08.10.2005 [20:08:03 +0100], Felix Oxley wrote:
>
> > You are "make"ing an object file, not a .c file. Makefiles' syntax is
> > for the target, not the source.
> >
> > make drivers/telephony/ixj.o
> >
> I had tried this all ready and forgot to mention it, but it didn't work at the
> time.
Were you trying to build ixj as a module? You might have needed
make drivers/telephony/ixj.ko
Not sure, though.
> > Please read the Makefile before posting.
> >
> Which file should I read?
The top-level Makefile gives a good overview of available
targets/syntax. The drivers/telephony/Makefile probably has some
indication of available targets specific to that directory.
> > make M=drivers/telephony
> >
>
> This does the trick!
Great!
> > > and
> > > # cc driver/telephony/ixj.cjust gives hundreds of errors.
> >
> > This is just plain silly and why we have a Makefile system in the first
> > place.
> >
> I know, but I was just trying to exaplan all the methods I had tried.
> I think I must have cocked something up before but it is better now.
Glad you got it figured out.
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
[-- Attachment #1.2: Type: text/html, Size: 3479 bytes --]
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-10 21:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-08 17:02 [KJ] Question re make Felix Oxley
2005-10-08 18:01 ` Nish Aravamudan
2005-10-08 19:08 ` Felix Oxley
2005-10-09 5:08 ` Nishanth Aravamudan
2005-10-10 21:15 ` lounprime
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.