From c51254ee5b02257d8e35015493887486f18f735e Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 2 Dec 2024 14:56:38 +0300 Subject: [PATCH] android-tools --- hardware/misc/android-tools/actions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hardware/misc/android-tools/actions.py b/hardware/misc/android-tools/actions.py index 0c11b5157f..3d14a3f865 100644 --- a/hardware/misc/android-tools/actions.py +++ b/hardware/misc/android-tools/actions.py @@ -13,7 +13,10 @@ def setup(): shelltools.makedirs("build") shelltools.cd("build") - cmaketools.configure(sourceDir="..") + cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DANDROID_TOOLS_LIBUSB_ENABLE_UDEV=ON \ + -DANDROID_TOOLS_USE_BUNDLED_LIBUSB=ON", sourceDir="..") def build(): cmaketools.make("-C build")