lisa: Add SKU props from stock

Change-Id: Ib7b6a0d8b992f264762c21f477c42f2114e51c7f
This commit is contained in:
Alexander Winkowski 2024-01-08 07:05:38 +00:00 committed by Giovanni Ricca
parent ae16ac523a
commit 3c29ceb334
No known key found for this signature in database
6 changed files with 25 additions and 0 deletions

View File

@ -27,5 +27,8 @@ BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(BOOT_KERNEL_MODULES)
BOARD_DTBOIMG_PARTITION_SIZE := 25165824 BOARD_DTBOIMG_PARTITION_SIZE := 25165824
BOARD_USERDATAIMAGE_PARTITION_SIZE := 113254576128 BOARD_USERDATAIMAGE_PARTITION_SIZE := 113254576128
# Properties
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
# Include proprietary files # Include proprietary files
include vendor/xiaomi/lisa/BoardConfigVendor.mk include vendor/xiaomi/lisa/BoardConfigVendor.mk

View File

@ -38,6 +38,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.lisa.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.lisa.rc $(LOCAL_PATH)/rootdir/etc/init.lisa.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.lisa.rc
# Sku properties
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/sku/,$(TARGET_COPY_OUT_ODM)/etc)
# WiFi Display # WiFi Display
PRODUCT_SYSTEM_PROPERTIES += \ PRODUCT_SYSTEM_PROPERTIES += \
vendor.sys.video.disable.ubwc=1 vendor.sys.video.disable.ubwc=1

3
odm.prop Normal file
View File

@ -0,0 +1,3 @@
# SKU properties
ro.product.property_source_order=odm,product,vendor,system_ext,system
import /odm/etc/${ro.boot.hwc}_build.prop

5
sku/CN_build.prop Normal file
View File

@ -0,0 +1,5 @@
# begin sku build properties
# autogenerated by build/make/tools/buildinfo_sku.sh
ro.product.odm.model=2107119DC
ro.product.odm.name=lisa
# end sku build properties

5
sku/GL_build.prop Normal file
View File

@ -0,0 +1,5 @@
# begin sku build properties
# autogenerated by build/make/tools/buildinfo_sku.sh
ro.product.odm.model=2109119DG
ro.product.odm.name=lisa_global
# end sku build properties

5
sku/IN_build.prop Normal file
View File

@ -0,0 +1,5 @@
# begin sku build properties
# autogenerated by build/make/tools/buildinfo_sku.sh
ro.product.odm.model=2109119DI
ro.product.odm.name=lisa_in
# end sku build properties