Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mkbestas@gmail.com> Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
This commit is contained in:
parent
8b71b751ca
commit
4a6dd7d3b5
7 changed files with 63 additions and 1 deletions
|
@ -16,7 +16,8 @@
|
|||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_comet.mk \
|
||||
$(LOCAL_DIR)/factory_comet.mk
|
||||
$(LOCAL_DIR)/factory_comet.mk \
|
||||
$(LOCAL_DIR)/lineage_comet.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
aosp_comet-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
|
||||
#
|
|
@ -39,3 +39,6 @@ else
|
|||
include device/google/comet23/comet23/BoardConfig.mk
|
||||
|
||||
endif
|
||||
|
||||
DEVICE_PATH := device/google/comet
|
||||
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
|
||||
|
|
7
comet/BoardConfigLineage.mk
Normal file
7
comet/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
comet/device-lineage.mk
Normal file
9
comet/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
|
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_comet.mk
Normal file
30
lineage_comet.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_foldable_book_telephony.mk)
|
||||
|
||||
# Inherit device configuration
|
||||
DEVICE_CODENAME := comet
|
||||
DEVICE_PATH := device/google/comet
|
||||
$(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 9 Pro Fold
|
||||
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2424
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
BuildDesc="comet-user 15 AP3A.241005.015 12366759 release-keys" \
|
||||
BuildFingerprint=google/comet/comet:15/AP3A.241005.015/12366759:user/release-keys \
|
||||
DeviceProduct=$(DEVICE_CODENAME)
|
Loading…
Add table
Add a link
Reference in a new issue