Re: kbuild system regression (final '/' in directory names)

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

 



On Wed, Jan 05, 2011 at 11:53:33AM -0500, Alan Stern wrote:
> Up until the last kernel version or so, I could do something like:
> 
> 	make M=drivers/usb/misc/
> 
> and the kbuild system would automatically do the right thing by
> removing the final '/'.  Now it does not do so, and instead it ends up
> unnecessarily compiling bogus files like
> 
>   CC [M]  drivers/usb/misc//usbtest.o

It behaves the same on 2.6.36 and 2.6.35, BUT this is not what the M
variable is meant for. It should be used to build external modules, if
you want to build only a part of the kernel tree, use

  make drivers/usb/misc

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux