Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mkbestas@gmail.com> Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
This commit is contained in:
parent
209e01cd0b
commit
303ea0fcf0
7 changed files with 62 additions and 0 deletions
|
@ -18,6 +18,7 @@ PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/aosp_tegu.mk \
|
$(LOCAL_DIR)/aosp_tegu.mk \
|
||||||
$(LOCAL_DIR)/aosp_tegu_fullmte.mk \
|
$(LOCAL_DIR)/aosp_tegu_fullmte.mk \
|
||||||
$(LOCAL_DIR)/factory_tegu.mk \
|
$(LOCAL_DIR)/factory_tegu.mk \
|
||||||
|
$(LOCAL_DIR)/lineage_tegu.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
aosp_tegu-trunk_staging-userdebug
|
aosp_tegu-trunk_staging-userdebug
|
||||||
|
|
5
BoardConfigLineage.mk
Normal file
5
BoardConfigLineage.mk
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
7
device-lineage.mk
Normal file
7
device-lineage.mk
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
|
30
lineage_tegu.mk
Normal file
30
lineage_tegu.mk
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit some common stuff
|
||||||
|
TARGET_DISABLE_EPPE := true
|
||||||
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
|
# Inherit device configuration
|
||||||
|
DEVICE_CODENAME := tegu
|
||||||
|
DEVICE_PATH := device/google/tegu
|
||||||
|
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
|
||||||
|
$(call inherit-product, device/google/zumapro/lineage_common.mk)
|
||||||
|
$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-lineage.mk)
|
||||||
|
|
||||||
|
# Device identifier. This must come after all inclusions
|
||||||
|
PRODUCT_BRAND := google
|
||||||
|
PRODUCT_MODEL := Pixel 9a
|
||||||
|
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
|
||||||
|
|
||||||
|
# Boot animation
|
||||||
|
TARGET_SCREEN_HEIGHT := 2424
|
||||||
|
TARGET_SCREEN_WIDTH := 1080
|
||||||
|
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
BuildDesc="tegu-user 16 BP2A.250605.031.A2 13578606 release-keys" \
|
||||||
|
BuildFingerprint=google/tegu/tegu:16/BP2A.250605.031.A2/13578606:user/release-keys \
|
||||||
|
DeviceProduct=$(DEVICE_CODENAME)
|
|
@ -28,3 +28,6 @@ include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
|
||||||
-include vendor/google_devices/tegu/proprietary/BoardConfigVendor.mk
|
-include vendor/google_devices/tegu/proprietary/BoardConfigVendor.mk
|
||||||
include device/google/tegu/sepolicy/tegu-sepolicy.mk
|
include device/google/tegu/sepolicy/tegu-sepolicy.mk
|
||||||
include device/google/tegu/wifi/BoardConfig-wifi.mk
|
include device/google/tegu/wifi/BoardConfig-wifi.mk
|
||||||
|
|
||||||
|
DEVICE_PATH := device/google/tegu
|
||||||
|
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
|
||||||
|
|
7
tegu/BoardConfigLineage.mk
Normal file
7
tegu/BoardConfigLineage.mk
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(DEVICE_PATH)/BoardConfigLineage.mk
|
9
tegu/device-lineage.mk
Normal file
9
tegu/device-lineage.mk
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
|
||||||
|
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
|
||||||
|
|
||||||
|
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
|
Loading…
Add table
Add a link
Reference in a new issue