sdm660-common: Use custom R hals for sdm660

* R hals and adapted for product config
 * If your rom uses boardconfig for hal and soc,
   place them to BoardConfig instead
This commit is contained in:
OdSazib 2021-04-27 16:52:56 +06:00
parent 4d2ff378d2
commit 996be98aad
No known key found for this signature in database
GPG key ID: B678DBD07079B021
2 changed files with 22 additions and 2 deletions

View file

@ -1,9 +1,9 @@
[ [
{ {
"remote" : "github", "remote" : "github",
"repository" : "xiaomi-sdm660/android_kernel_xiaomi_sdm660", "repository" : "OdSazib/halcyon_kernel_xiaomi_sdm660",
"target_path" : "kernel/xiaomi/sdm660", "target_path" : "kernel/xiaomi/sdm660",
"branch" : "11-EAS" "branch" : "eas"
}, },
{ {
"remote" : "github", "remote" : "github",
@ -16,5 +16,23 @@
"repository" : "xiaomi-sdm660/android_vendor_xiaomi_MiuiCamera", "repository" : "xiaomi-sdm660/android_vendor_xiaomi_MiuiCamera",
"target_path" : "vendor/xiaomi/MiuiCamera", "target_path" : "vendor/xiaomi/MiuiCamera",
"branch" : "sdm660" "branch" : "sdm660"
},
"remote" : "github",
"repository" : "AOSP-11/hardware_qcom-caf_audio_msm8998",
"target_path" : "hardware/qcom-caf/sdm660-R/audio",
"branch" : "11"
},
{
"remote" : "github",
"repository" : "AOSP-11/hardware_qcom-caf_display_msm8998",
"target_path" : "hardware/qcom-caf/sdm660-R/display",
"branch" : "11"
},
{
"remote" : "github",
"repository" : "AOSP-11/hardware_qcom-caf_media_msm8998",
"target_path" : "hardware/qcom-caf/sdm660-R/media",
"branch" : "11"
} }
] ]

View file

@ -24,6 +24,8 @@
# Board # Board
PRODUCT_USES_QCOM_HARDWARE := true PRODUCT_USES_QCOM_HARDWARE := true
PRODUCT_BOARD_PLATFORM := sdm660 PRODUCT_BOARD_PLATFORM := sdm660
TARGET_BOARD_PLATFORM := sdm660
OVERRIDE_QCOM_HARDWARE_VARIANT := sdm660-R
# Inherit from those products. Most specific first. # Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)