* Most OEMs who use MediaTek tend to ship preloader images without a header, therefore to allow preloader updates, it's necessary to create DM devices that allow writing to the physical preloader partition without the header. Change-Id: I6c3168ecabca4d4e56893d2a1bfea6a256577bd0 Signed-off-by: bengris32 <bengris32@protonmail.ch>
19 lines
348 B
Plaintext
19 lines
348 B
Plaintext
//
|
|
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
cc_binary {
|
|
name: "create_pl_dev",
|
|
srcs: ["create_pl_dev.cpp"],
|
|
init_rc: ["create_pl_dev.rc"],
|
|
recovery_available: true,
|
|
static_libs: [
|
|
"libfs_mgr"
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"liblog",
|
|
],
|
|
}
|