Add initial Lineage product makefiles

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
This commit is contained in:
Chirayu Desai 2021-11-22 21:22:09 +05:30 committed by Michael Bestas
parent 4bc4f1b9ef
commit d932294092
No known key found for this signature in database
15 changed files with 164 additions and 1 deletions

View file

@ -29,7 +29,11 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/factory_ripcurrent24.mk \
$(LOCAL_DIR)/aosp_tokay.mk \
$(LOCAL_DIR)/aosp_tokay_fullmte.mk \
$(LOCAL_DIR)/factory_tokay.mk
$(LOCAL_DIR)/factory_tokay.mk \
$(LOCAL_DIR)/lineage_caiman.mk \
$(LOCAL_DIR)/lineage_komodo.mk \
$(LOCAL_DIR)/lineage_tokay.mk
COMMON_LUNCH_CHOICES := \
aosp_caiman-trunk_staging-userdebug \
aosp_komodo-trunk_staging-userdebug \

5
BoardConfigLineage.mk Normal file
View 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
#

View file

@ -31,3 +31,6 @@ include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

View 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
caiman/device-lineage.mk Normal file
View 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
View 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

View file

@ -31,3 +31,6 @@ include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

View 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
komodo/device-lineage.mk Normal file
View 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

30
lineage_caiman.mk Normal file
View 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 := caiman
DEVICE_PATH := device/google/caimito
$(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
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2856
TARGET_SCREEN_WIDTH := 1280
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="caiman-user 15 AP3A.241005.015 12366759 release-keys" \
BuildFingerprint=google/caiman/caiman:15/AP3A.241005.015/12366759:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)

30
lineage_komodo.mk Normal file
View 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 := komodo
DEVICE_PATH := device/google/caimito
$(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 XL
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2992
TARGET_SCREEN_WIDTH := 1344
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="komodo-user 15 AP3A.241005.015 12366759 release-keys" \
BuildFingerprint=google/komodo/komodo:15/AP3A.241005.015/12366759:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)

30
lineage_tokay.mk Normal file
View 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 := tokay
DEVICE_PATH := device/google/caimito
$(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
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2424
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="tokay-user 15 AP3A.241005.015 12366759 release-keys" \
BuildFingerprint=google/tokay/tokay:15/AP3A.241005.015/12366759:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)

View file

@ -31,3 +31,6 @@ include device/google/caimito/wifi/BoardConfig-wifi.mk
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/6_1/BoardUserdebugModules.mk
endif
DEVICE_PATH := device/google/caimito
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk

View 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
tokay/device-lineage.mk Normal file
View 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