You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

ifeq ($(BOARD_WIFI_BLUETOOTH_DEVICE_MT7668U),y)
ifneq ($(wildcard $(TOP)/vendor/thirdparty/wifi_bt/bluetooth/mt7668u/bluedroid),)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libbt-vendor
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MULTILIB := 64
LOCAL_MODULE_SUFFIX:= .so
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_ODM)/lib64
LOCAL_SRC_FILES_64 := ../bluetooth/mt7668u/bluedroid/lib64/$(LOCAL_MODULE).so
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libc++ \
libc \
libm \
libdl \
libbluetooth_mtk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := libbluetooth_mtk
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MULTILIB := 64
LOCAL_MODULE_SUFFIX:= .so
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_ODM)/lib64
LOCAL_SRC_FILES_64 := ../bluetooth/mt7668u/bluedroid/lib64/$(LOCAL_MODULE).so
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libc++ \
libc \
libm \
libdl
include $(BUILD_PREBUILT)
endif
endif