mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
vermeer: Initial device tree
Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com> Change-Id: I16061ac326d1f281c1126ce11bfc6cc0b2ce719a
This commit is contained in:
8
Android.bp
Normal file
8
Android.bp
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2025 The LineageOS Project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
soong_namespace {
|
||||||
|
}
|
||||||
11
Android.mk
Normal file
11
Android.mk
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2025 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
ifeq ($(TARGET_DEVICE),vermeer)
|
||||||
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
endif
|
||||||
8
AndroidProducts.mk
Normal file
8
AndroidProducts.mk
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2025 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/lineage_vermeer.mk
|
||||||
13
BoardConfig.mk
Normal file
13
BoardConfig.mk
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2025 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from xiaomi sm8550-common
|
||||||
|
include device/xiaomi/sm8550-common/BoardConfigCommon.mk
|
||||||
|
|
||||||
|
# Inherit from the proprietary version
|
||||||
|
include vendor/xiaomi/vermeer/BoardConfigVendor.mk
|
||||||
|
|
||||||
|
DEVICE_PATH := device/xiaomi/vermeer
|
||||||
15
device.mk
Normal file
15
device.mk
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2025 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from xiaomi sm8550-common
|
||||||
|
$(call inherit-product, device/xiaomi/sm8550-common/common.mk)
|
||||||
|
|
||||||
|
# Inherit from the proprietary version
|
||||||
|
$(call inherit-product, vendor/xiaomi/vermeer/vermeer-vendor.mk)
|
||||||
|
|
||||||
|
# Soong namespaces
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
$(LOCAL_PATH)
|
||||||
26
extract-files.sh
Normal file
26
extract-files.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 The CyanogenMod Project
|
||||||
|
# Copyright (C) 2017-2020 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
function blob_fixup() {
|
||||||
|
case "${1}" in
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# If we're being sourced by the common script that we called,
|
||||||
|
# stop right here. No need to go down the rabbit hole.
|
||||||
|
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export DEVICE=vermeer
|
||||||
|
export DEVICE_COMMON=sm8550-common
|
||||||
|
export VENDOR=xiaomi
|
||||||
|
|
||||||
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||||
24
lineage_vermeer.mk
Normal file
24
lineage_vermeer.mk
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2025 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# 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/full_base_telephony.mk)
|
||||||
|
|
||||||
|
# Inherit from vermeer device
|
||||||
|
$(call inherit-product, device/xiaomi/vermeer/device.mk)
|
||||||
|
|
||||||
|
# Inherit from common lineage configuration
|
||||||
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
|
PRODUCT_DEVICE := vermeer
|
||||||
|
PRODUCT_NAME := lineage_vermeer
|
||||||
|
PRODUCT_BRAND := POCO
|
||||||
|
PRODUCT_MODEL := 23113RKC6G
|
||||||
|
PRODUCT_MANUFACTURER := Xiaomi
|
||||||
|
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
BuildFingerprint=POCO/vermeer_global/vermeer:15/AQ3A.240912.001/OS2.0.103.0.VNKMIXM:user/release-keys
|
||||||
15
setup-makefiles.sh
Normal file
15
setup-makefiles.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 The CyanogenMod Project
|
||||||
|
# Copyright (C) 2017-2020 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export DEVICE=vermeer
|
||||||
|
export DEVICE_COMMON=sm8550-common
|
||||||
|
export VENDOR=xiaomi
|
||||||
|
|
||||||
|
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||||
Reference in New Issue
Block a user