sm8550-common: Build QTI bootctrl HAL
Change-Id: I1d35fe73deaef39ab71dd627a17f72d60e53d717
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
soong_namespace {
|
||||
imports: ["hardware/qcom-caf/bootctrl"],
|
||||
}
|
||||
|
@@ -44,6 +44,11 @@ BOARD_BOOT_HEADER_VERSION := 4
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
BOARD_RAMDISK_USE_LZ4 := true
|
||||
|
||||
# Boot control
|
||||
SOONG_CONFIG_NAMESPACES += ufsbsg
|
||||
SOONG_CONFIG_ufsbsg += ufsframework
|
||||
SOONG_CONFIG_ufsbsg_ufsframework := bsg
|
||||
|
||||
# Bootloader
|
||||
TARGET_BOOTLOADER_BOARD_NAME := kalama
|
||||
|
||||
|
12
bootctrl/Android.bp
Normal file
12
bootctrl/Android.bp
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// Copyright (C) 2023 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_library_shared {
|
||||
name: "android.hardware.boot@1.2-impl-qti",
|
||||
stem: "android.hardware.boot@1.0-impl-1.2-qti",
|
||||
defaults: ["android.hardware.boot@1.2-impl-qti_defaults"],
|
||||
static_libs: ["libgptutils.samsung_sm8550"],
|
||||
}
|
@@ -33,6 +33,12 @@ PRODUCT_PACKAGES += \
|
||||
checkpoint_gc \
|
||||
otapreopt_script
|
||||
|
||||
# Boot control
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.boot@1.2-impl-qti \
|
||||
android.hardware.boot@1.2-impl-qti.recovery \
|
||||
android.hardware.boot@1.2-service
|
||||
|
||||
# Fastboot
|
||||
PRODUCT_PACKAGES += \
|
||||
fastbootd
|
||||
|
@@ -23,23 +23,16 @@ ufsbsg_cc_defaults {
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "librecovery_updater",
|
||||
name: "libgptutils.samsung_sm8550",
|
||||
vendor: true,
|
||||
recovery_available: true,
|
||||
defaults: ["libion_header_paths" ,"ufsbsg_defaults"],
|
||||
defaults: ["ufsbsg_defaults"],
|
||||
srcs: [
|
||||
"gpt-utils.cpp",
|
||||
"oem-updater.cpp",
|
||||
"recovery-ufs-bsg.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"libbase",
|
||||
"libedify",
|
||||
"libotautil",
|
||||
],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"libion",
|
||||
"liblog",
|
||||
"libz",
|
||||
],
|
||||
|
Reference in New Issue
Block a user