Re: [RFC] kbuild: make it possible to specify the module output dir

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

 



On 2015-02-09 11:58, Kiran Raparthy wrote:
> From: Rom Lemarchand <romlem@xxxxxxxxxxx>
> 
> kbuild: make it possible to specify the module output dir
> 
> Make modinst_dir user-defined on the command line.
> 
> This allows to do things like:
> make MODLIB=output/ modinst_dir=. modules_install
> 
> to ensure all the .ko are in the output/ directory.

Please explain the use case and why it is needed. There are two
user-changeable variables used by modules_install:

INSTALL_MOD_PATH - prepended to /lib/modules/..., to allow installation
                   to a staging directory by non-root
INSTALL_MOD_DIR  - for out-of-tree modules; specifies the subdirectory
                   of /lib/modules/.../ to put the modules under
                   (default: "extra").

The hierarchy used in the source tree is reflected under
/lib/modules/.../extra, but that should not be an issue.

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