universal7885: change device detection logic

This commit is contained in:
roynatech2544 2021-12-04 13:08:17 +09:00
commit 5e14e4c0e8
No known key found for this signature in database
GPG key ID: 9675C32163D88D30

View file

@ -1,7 +1,9 @@
# Call proprietary blob setup
ifneq ($(filter $(TARGET_DEVICE), a20 a20e),)
ifneq ($(findstring a20, $(TARGET_PRODUCT)),)
$(call inherit-product, vendor/samsung/universal7885-common/universal7885-common-vendor.mk)
else ifneq ($(filter $(TARGET_DEVICE), a30 a40),)
else ifneq ($(findstring a30, $(TARGET_PRODUCT)),)
$(call inherit-product, vendor/samsung/universal7904-common/universal7904-common-vendor.mk)
else ifneq ($(findstring a40, $(TARGET_PRODUCT)),)
$(call inherit-product, vendor/samsung/universal7904-common/universal7904-common-vendor.mk)
endif