ANDROID: 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.

Signed-off-by: Rom Lemarchand <romlem@android.com>

Bug: None
Patchset: kbuild-modinst-dir

Signed-off-by: Mattias Nissler <mnissler@google.com>
Change-Id: Ice05dd45416c8b2cb2771fd99ebebd63ddfeae8a
1 file changed