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>
This commit is contained in:
Guillaume Ranquet 2012-12-07 13:39:39 +01:00
parent dea46b6657
commit 08c119910a
1 changed files with 10 additions and 0 deletions

View File

@ -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)