Android AOSP - How to build only a module
<p>I want to build a module in <code>sdk/emulator/sensor/</code> to test a device driver. The module then will be injected into a running virtual machine so there's no need to build a whole android AOSP.
I tried <code>mm</code> and got this error:</p>

<pre><code>============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
make: Entering directory `/export/home/myname/workdir/sdk/emulator/sensor/`
make: *** No rule to make target 'out/target/product/generic/obj/lib/liblog.so', needed by 'out/target/product/generic/obj/SHARED_LIBRARIES/sensors.goldfish_intermediates/LINKED/sensors.goldfish.so'.  Stop.
make: Leaving directory '/export/home/myname/workdir/sdk/emulator/sensor/'
</code></pre>

<p>Is it possible to just compile a module? If yes please show me how to do it.
Thank you very very much.</p>
