mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Satisify EPPE requirements
- Make TARGET_SOC device specific variable - Also some cleanup
This commit is contained in:
parent
ef3544cf66
commit
fe876e78ed
9 changed files with 14 additions and 37 deletions
|
|
@ -2,6 +2,7 @@ DEVICE_PACKAGE_OVERLAYS += device/samsung/a10/overlay
|
|||
|
||||
TARGET_BOARD_CAMERA_COUNT := 2
|
||||
TARGET_BOARD_HAS_FP := false
|
||||
TARGET_SOC := exynos7884B
|
||||
|
||||
# Inherit common device configuration
|
||||
$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
|
||||
|
|
@ -15,9 +16,6 @@ PRODUCT_PACKAGES += \
|
|||
TARGET_SCREEN_HEIGHT := 1520
|
||||
TARGET_SCREEN_WIDTH := 720
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7884B
|
||||
|
||||
BUILD_FINGERPRINT := "samsung/a10kx/a10:11/RP1A.200720.012/A105NKOU5CUL4:user/release-keys"
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
## Bluetooth
|
||||
bluetooth.device.default_name=Galaxy A10
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
TARGET_LOCAL_ARCH := arm64
|
||||
TARGET_SOC := exynos7884B
|
||||
|
||||
# Inherit common device configuration
|
||||
$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
|
||||
|
|
@ -17,10 +18,8 @@ TARGET_SCREEN_HEIGHT := 1560
|
|||
TARGET_SCREEN_WIDTH := 720
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7884B
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
TARGET_SOC := exynos7884B
|
||||
TARGET_LOCAL_ARCH := arm64
|
||||
|
||||
# Inherit common device configuration
|
||||
|
|
@ -9,9 +10,6 @@ $(call inherit-product, vendor/samsung/a20e/a20e-vendor.mk)
|
|||
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
|
||||
|
||||
# Derp
|
||||
DERP_BUILDTYPE := Official
|
||||
|
||||
# USB
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.usb-service.samsung
|
||||
|
|
@ -20,10 +18,8 @@ TARGET_SCREEN_HEIGHT := 1560
|
|||
TARGET_SCREEN_WIDTH := 720
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7884B
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
TARGET_LOCAL_ARCH := arm64
|
||||
TARGET_SOC := exynos7904
|
||||
|
||||
# Inherit common device configuration
|
||||
$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
|
||||
|
|
@ -21,9 +22,6 @@ PRODUCT_COPY_FILES += \
|
|||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
||||
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7904
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
TARGET_LOCAL_ARCH := arm64
|
||||
# UDFPS
|
||||
TARGET_SOC := exynos7904
|
||||
TARGET_HAS_UDFPS := true
|
||||
|
||||
# Inherit common device configuration
|
||||
|
|
@ -23,9 +23,6 @@ PRODUCT_COPY_FILES += \
|
|||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
||||
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7904
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
||||
|
||||
TARGET_LOCAL_ARCH := arm64
|
||||
TARGET_SOC := exynos7904
|
||||
|
||||
# Inherit common device configuration
|
||||
$(call inherit-product, device/samsung/universal7885-common/universal7885-common.mk)
|
||||
|
|
@ -21,9 +22,6 @@ PRODUCT_COPY_FILES += \
|
|||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
||||
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.exynos7904
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
|
|
|
|||
|
|
@ -3,15 +3,8 @@ COMMON_PATH := device/samsung/universal7885-common
|
|||
BOARD_VENDOR := samsung
|
||||
|
||||
# Platform
|
||||
ifeq ($(TARGET_DEVICE), $(filter $(TARGET_DEVICE),a10dd a10 a20 a20e))
|
||||
TARGET_SOC := exynos7884B
|
||||
TARGET_BOARD_PLATFORM := universal7884B
|
||||
TARGET_BOOTLOADER_BOARD_NAME := exynos7884B
|
||||
else ifeq ($(TARGET_DEVICE), $(filter $(TARGET_DEVICE),a30 a30s a40))
|
||||
TARGET_SOC := exynos7904
|
||||
TARGET_BOARD_PLATFORM := universal7904
|
||||
TARGET_BOOTLOADER_BOARD_NAME := exynos7904
|
||||
endif
|
||||
TARGET_BOARD_PLATFORM := $(subst exynos,universal,$(TARGET_SOC))
|
||||
TARGET_BOOTLOADER_BOARD_NAME := $(TARGET_SOC)
|
||||
|
||||
include hardware/samsung_slsi-linaro/config/BoardConfig7885.mk
|
||||
|
||||
|
|
|
|||
|
|
@ -140,8 +140,7 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.composer.hwc3-service.slsi \
|
||||
gralloc.exynos7904 \
|
||||
gralloc.exynos7884B \
|
||||
gralloc.$(TARGET_SOC) \
|
||||
libion_exynos
|
||||
|
||||
# Health
|
||||
|
|
@ -160,6 +159,7 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# Init
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.$(TARGET_SOC) \
|
||||
fstab.enableswap \
|
||||
init.exynos7885.rc \
|
||||
init.exynos7885.usb.rc \
|
||||
|
|
|
|||
Loading…
Reference in a new issue