Re: [KJ] Question re make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/8/05, Felix Oxley <lkml@xxxxxxxxx> 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

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux