Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd352fdc authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "fastboot: only require Linux modules on Linux" am: 24efdff2 am: 96eea9a7

am: 1c4150ee

Change-Id: I5372f2adeea27242e8caf37015453809ec6df524
parents 979ace46 1c4150ee
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -39,13 +39,15 @@ LOCAL_MODULE := fastboot
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE_HOST_OS := darwin linux windows
LOCAL_CFLAGS += -Wall -Wextra -Werror -Wunreachable-code
LOCAL_REQUIRED_MODULES := mke2fs e2fsdroid mke2fs.conf make_f2fs sload_f2fs
LOCAL_REQUIRED_MODULES := mke2fs make_f2fs

LOCAL_SRC_FILES_linux := usb_linux.cpp
LOCAL_STATIC_LIBRARIES_linux := libselinux
LOCAL_REQUIRED_MODULES_linux := e2fsdroid mke2fs.conf sload_f2fs

LOCAL_SRC_FILES_darwin := usb_osx.cpp
LOCAL_STATIC_LIBRARIES_darwin := libselinux
LOCAL_REQUIRED_MODULES_darwin := e2fsdroid mke2fs.conf sload_f2fs
LOCAL_LDLIBS_darwin := -lpthread -framework CoreFoundation -framework IOKit -framework Carbon
LOCAL_CFLAGS_darwin := -Wno-unused-parameter