kbuild: make it possible to specify the module output dir
authorRom Lemarchand <romlem@android.com>
Fri, 6 Feb 2015 00:07:59 +0000 (16:07 -0800)
committerRom Lemarchand <romlem@android.com>
Fri, 6 Feb 2015 00:35:08 +0000 (00:35 +0000)
commitf5aa3045b11aeff79687236a2cebf1e4b068b995
treec4c827f263242e0350f4e164d263314d7eafddd9
parentaac55d5ed474e8b6b08d85e742727e5dc0b7893c
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.

Change-Id: I2bc007eea27ee744d35289e26e4a8ac43ba04151
Signed-off-by: Rom Lemarchand <romlem@android.com>
(cherry picked from commit ae7f28e5aa168a008c153ccff7cc437066d016c3)
scripts/Makefile.modinst