building only a portion of Kernel

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

 



Following is excerpt from LKN
Chapter 4 ,page 27
Building only a portion of Kernel

"To selectively build a specific directory, specify it on
the build command line. For example, to build the files in the drivers/usb/serial
directory, enter:
$ make drivers/usb/serial
Using this syntax, however, will not build the final module images in that direc-
tory. To do that, you can use the M= argument:
$ make M=drivers/usb/serial
which will build all the needed files in that directory and link the final module
images."

I am not able to understand the difference between the above 2 methods.
Can some one help as what is the advantage we get by using option M=/some/directory
in above or what the book is trying to say.


[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