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)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:19 +0000 (13:54 -0800)
commit232fd7e1294d919dbb90f8c542185770c804f5e5
tree3200f19213609c215043c15033ea28f1a89630d1
parent9a878d1d77c9ca836c699cf3cee4685cae5e7eb0
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>
scripts/Makefile.modinst