treewide: alioth -> pipa

Change-Id: I78e5f5f86b8c21e1990fca04a7a6ba8939863051
This commit is contained in:
luka177
2023-10-13 21:51:56 +02:00
committed by Sebastiano Barezzi
parent 77b35456af
commit 57a9f33b50
9 changed files with 39 additions and 40 deletions

View File

@@ -6,6 +6,6 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),alioth)
ifeq ($(TARGET_DEVICE),pipa)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

View File

@@ -5,9 +5,9 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_alioth.mk
$(LOCAL_DIR)/lineage_pipa.mk
COMMON_LUNCH_CHOICES := \
lineage_alioth-user \
lineage_alioth-userdebug \
lineage_alioth-eng
lineage_pipa-user \
lineage_pipa-userdebug \
lineage_pipa-eng

View File

@@ -7,7 +7,7 @@
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/alioth
DEVICE_PATH := device/xiaomi/pipa
BUILD_BROKEN_DUP_RULES := true
@@ -22,13 +22,10 @@ TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_alioth
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_alioth
# Kernel
TARGET_KERNEL_CONFIG += vendor/xiaomi/alioth.config
# OTA assert
TARGET_OTA_ASSERT_DEVICE := alioth,aliothin
TARGET_KERNEL_CONFIG += vendor/xiaomi/pipa.config
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Inherit from the proprietary version
include vendor/xiaomi/alioth/BoardConfigVendor.mk
include vendor/xiaomi/pipa/BoardConfigVendor.mk

View File

@@ -1 +1 @@
require board=alioth|aliothin
require board=pipa

View File

@@ -42,4 +42,4 @@ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Inherit from vendor blobs
$(call inherit-product, vendor/xiaomi/alioth/alioth-vendor.mk)
$(call inherit-product, vendor/xiaomi/pipa/pipa-vendor.mk)

View File

@@ -36,7 +36,7 @@ fi
set -e
export DEVICE=alioth
export DEVICE=pipa
export DEVICE_COMMON=sm8250-common
export VENDOR=xiaomi

View File

@@ -1,25 +0,0 @@
#
# Copyright (C) 2021 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 some common lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit from alioth device
$(call inherit-product, device/xiaomi/alioth/device.mk)
PRODUCT_NAME := lineage_alioth
PRODUCT_DEVICE := alioth
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_BRAND := POCO
PRODUCT_MODEL := POCO F3
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
BUILD_FINGERPRINT := POCO/alioth_global/alioth:13/TKQ1.220829.002/V14.0.4.0.TKHMIXM:user/release-keys

27
lineage_pipa.mk Normal file
View File

@@ -0,0 +1,27 @@
#
# Copyright (C) 2021 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 some common lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk)
# Inherit from pipa device
$(call inherit-product, device/xiaomi/pipa/device.mk)
PRODUCT_NAME := lineage_pipa
PRODUCT_DEVICE := pipa
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := 23043RP34G
PRODUCT_CHARACTERISTICS := tablet
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
BUILD_FINGERPRINT := Xiaomi/pipa_global/pipa:13/RKQ1.211001.001/V816.0.7.0.UMZMIXM:user/release-keys

View File

@@ -7,7 +7,7 @@
set -e
export DEVICE=alioth
export DEVICE=pipa
export DEVICE_COMMON=sm8250-common
export VENDOR=xiaomi