aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk49
1 files changed, 49 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..8b41162
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,49 @@
+LOCAL_PATH:= $(call my-dir)
+
+#########
+# usbip #
+#########
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ src/usbip.c \
+ src/usbip_network.c
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/libsrc
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := usbip
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+include $(BUILD_EXECUTABLE)
+
+##########
+# usbipd #
+##########
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ src/usbipd.c \
+ src/usbip_network.c
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := usbipd
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+include $(BUILD_EXECUTABLE)
+
+#####################
+# usbip_bind_driver #
+#####################
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ src/bind-driver.c \
+ src/utils.c \
+ src/usbip_network.c
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := usbip_bind_driver
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+include $(BUILD_EXECUTABLE)