alioth: libinit: Adapt to latest changes
Change-Id: Idc740a7487c01f5837fc25ac7220e4a8a0247271
This commit is contained in:
@@ -35,8 +35,8 @@ TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
|
||||
TARGET_SCREEN_DENSITY := 420
|
||||
|
||||
# Init
|
||||
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_alioth
|
||||
TARGET_RECOVERY_DEVICE_MODULES := libinit_alioth
|
||||
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_alioth
|
||||
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_alioth
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := vendor/alioth_defconfig
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
//
|
||||
|
||||
cc_library_static {
|
||||
name: "libinit_alioth",
|
||||
defaults: ["//device/xiaomi/sm8250-common:libinit_kona_defaults"],
|
||||
srcs: ["init_alioth.cpp"],
|
||||
whole_static_libs: ["//device/xiaomi/sm8250-common:libinit_kona"],
|
||||
name: "init_xiaomi_alioth",
|
||||
srcs: ["init_xiaomi_alioth.cpp"],
|
||||
whole_static_libs: ["//device/xiaomi/sm8250-common:libinit_xiaomi_kona"],
|
||||
include_dirs: ["system/core/init"],
|
||||
recovery_available: true,
|
||||
}
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <libinit_kona.h>
|
||||
#include <libinit_dalvik_heap.h>
|
||||
#include <libinit_variant.h>
|
||||
|
||||
#include "vendor_init.h"
|
||||
|
||||
static const variant_info_t aliothcn_info = {
|
||||
.hwc_value = "CN",
|
||||
@@ -14,7 +17,6 @@ static const variant_info_t aliothcn_info = {
|
||||
.device = "alioth",
|
||||
.marketname = "K40",
|
||||
.model = "M2012K11AC",
|
||||
.build_description = "alioth-user 11 RKQ1.200826.002 V12.5.4.0.RKHCNXM release-keys",
|
||||
.build_fingerprint = "Redmi/alioth/alioth:11/RKQ1.200826.002/V12.5.4.0.RKHCNXM:user/release-keys",
|
||||
|
||||
.nfc = true,
|
||||
@@ -28,7 +30,6 @@ static const variant_info_t aliothin_info = {
|
||||
.device = "aliothin",
|
||||
.marketname = "Mi 11X",
|
||||
.model = "M2012K11AI",
|
||||
.build_description = "aliothin-user 11 RKQ1.200826.002 V12.5.2.0.RKHMIXM release-keys",
|
||||
.build_fingerprint = "Mi/aliothin/aliothin:11/RKQ1.200826.002/V12.5.2.0.RKHMIXM:user/release-keys",
|
||||
|
||||
.nfc = false,
|
||||
@@ -42,7 +43,6 @@ static const variant_info_t alioth_info = {
|
||||
.device = "alioth",
|
||||
.marketname = "POCO F3",
|
||||
.model = "M2012K11AG",
|
||||
.build_description ="alioth-user 11 RKQ1.200826.002 V12.5.2.0.RKHMIXM release-keys",
|
||||
.build_fingerprint = "POCO/alioth_global/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHMIXM:user/release-keys",
|
||||
|
||||
.nfc = true,
|
||||
Reference in New Issue
Block a user