common: usb: Build the QTI HAL for v5.4 targets.
Change-Id: Ic1b2741eb00ca8d5f1eeb55280aeb3ebda3a084f
This commit is contained in:
parent
eab4852806
commit
a3b0ce6365
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue