Unverified Commit a3b0ce63 authored by Alexander Koskovich's avatar Alexander Koskovich
Browse files

common: usb: Build the QTI HAL for v5.4 targets.

Change-Id: Ic1b2741eb00ca8d5f1eeb55280aeb3ebda3a084f
parent eab48528
......@@ -18,7 +18,11 @@ PRODUCT_SOONG_NAMESPACES += \
# Inherit from the USB product definition.
$(call inherit-product, vendor/qcom/opensource/usb/vendor_product.mk)
ifneq ($(TARGET_KERNEL_VERSION), 4.19)
ifeq ($(TARGET_KERNEL_VERSION),5.4)
TARGET_HAS_DIAG_ROUTER := true
endif
ifeq (,$(filter 4.19 5.4, $(TARGET_KERNEL_VERSION)))
PRODUCT_PACKAGES += android.hardware.usb@1.0-service
endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment