aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall/source
diff options
context:
space:
mode:
Diffstat (limited to 'heimdall/source')
-rw-r--r--heimdall/source/Android.mk30
1 files changed, 2 insertions, 28 deletions
diff --git a/heimdall/source/Android.mk b/heimdall/source/Android.mk
index 86d2310..9d015b9 100644
--- a/heimdall/source/Android.mk
+++ b/heimdall/source/Android.mk
@@ -3,30 +3,6 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- core.c \
- descriptor.c \
- io.c \
- sync.c
-
-ifeq ($(HOST_OS),darwin)
-LOCAL_SRC_FILES += os/darwin_usb.c
-endif
-ifeq ($(HOST_OS),linux)
-LOCAL_SRC_FILES += os/linux_usbfs.c
-endif
-
-LOCAL_SRC_FILES := $(addprefix ../../../libusb/libusb/,$(LOCAL_SRC_FILES))
-LOCAL_MODULE := libusb
-
-LOCAL_C_INCLUDES := \
- external/libusb \
- external/libusb/libusb
-
-include $(BUILD_HOST_STATIC_LIBRARY)
-
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := \
Arguments.cpp \
ClosePcScreenAction.cpp \
DownloadPitAction.cpp \
@@ -43,13 +19,11 @@ LOCAL_SRC_FILES := \
main.cpp \
../../libpit/Source/libpit.cpp
-LOCAL_SRC_FILES += $(LIBUSB_SRC_FILES)
-
LOCAL_C_INCLUDES := \
external/heimdall/libpit/Source \
- external/libusb/libusb
+ external/libusbx/libusb
-LOCAL_STATIC_LIBRARIES := libusb
+LOCAL_STATIC_LIBRARIES := libusbx
ifeq ($(HOST_OS),darwin)
LOCAL_LDFLAGS := -framework CoreFoundation -framework IOKit