diff options
Diffstat (limited to 'mtp/Android.mk')
-rwxr-xr-x | mtp/Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mtp/Android.mk b/mtp/Android.mk index ebf1a6d36..683999d31 100755 --- a/mtp/Android.mk +++ b/mtp/Android.mk @@ -30,6 +30,11 @@ LOCAL_SRC_FILES = \ mtp_MtpDatabase.cpp \ node.cpp LOCAL_SHARED_LIBRARIES += libz libc libusbhost libstdc++ libstlport libdl libcutils libutils + +ifneq ($(TW_MTP_DEVICE),) + LOCAL_CFLAGS += -DUSB_MTP_DEVICE=$(TW_MTP_DEVICE) +endif + include $(BUILD_SHARED_LIBRARY) # Build twrpmtp binary / executable |