diff options
| author | Guillaume Ranquet <guillaumex.ranquet@intel.com> | 2012-12-07 13:39:39 +0100 |
|---|---|---|
| committer | Guillaume Ranquet <guillaumex.ranquet@intel.com> | 2012-12-10 11:12:44 +0100 |
| commit | 08c119910aed26011a26eb95b1c4477eb16c22a0 (patch) | |
| tree | 4421c8a7002281ab7244f0c0f7e0786d99976dfc /libusbhost/Android.mk | |
| parent | dea46b6657845a366d13f57c720eab28c9062ab7 (diff) | |
| download | system_core-08c119910aed26011a26eb95b1c4477eb16c22a0.tar.gz system_core-08c119910aed26011a26eb95b1c4477eb16c22a0.tar.bz2 system_core-08c119910aed26011a26eb95b1c4477eb16c22a0.zip | |
libusbhost: generates a static library
due to limitations of the droidboot OS used for POS,
there's a need for a static libusbhost library.
this permits to include libusbhost in droidboot
Change-Id: I0f0c07817ad19b773b466b69fd6e997877d41b34
Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com>
Diffstat (limited to 'libusbhost/Android.mk')
| -rw-r--r-- | libusbhost/Android.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libusbhost/Android.mk b/libusbhost/Android.mk index 52b4eadc9..9565cc57b 100644 --- a/libusbhost/Android.mk +++ b/libusbhost/Android.mk @@ -44,3 +44,13 @@ LOCAL_CFLAGS := -g -DUSE_LIBLOG LOCAL_SHARED_LIBRARIES := libcutils include $(BUILD_SHARED_LIBRARY) + +# Static library for target +# ======================================================== + +include $(CLEAR_VARS) + +LOCAL_MODULE := libusbhost +LOCAL_SRC_FILES := usbhost.c + +include $(BUILD_STATIC_LIBRARY) |
