Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
This commit is contained in:
parent
56ebe101f9
commit
d74f0f605f
@ -17,7 +17,8 @@
|
|||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/aosp_lynx.mk \
|
$(LOCAL_DIR)/aosp_lynx.mk \
|
||||||
$(LOCAL_DIR)/aosp_lynx_hwasan.mk \
|
$(LOCAL_DIR)/aosp_lynx_hwasan.mk \
|
||||||
$(LOCAL_DIR)/factory_lynx.mk
|
$(LOCAL_DIR)/factory_lynx.mk \
|
||||||
|
$(LOCAL_DIR)/lineage_lynx.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
aosp_lynx-trunk_staging-userdebug
|
aosp_lynx-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_lynx.mk
Normal file
30
lineage_lynx.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 := lynx
|
||||||
|
DEVICE_PATH := device/google/lynx
|
||||||
|
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
|
||||||
|
$(call inherit-product, device/google/gs201/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 7a
|
||||||
|
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
|
||||||
|
|
||||||
|
# Boot animation
|
||||||
|
TARGET_SCREEN_HEIGHT := 2400
|
||||||
|
TARGET_SCREEN_WIDTH := 1080
|
||||||
|
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
BuildDesc="lynx-user 15 AP3A.241005.015 12366759 release-keys" \
|
||||||
|
BuildFingerprint=google/lynx/lynx:15/AP3A.241005.015/12366759:user/release-keys \
|
||||||
|
DeviceProduct=$(DEVICE_CODENAME)
|
@ -43,3 +43,6 @@ include device/google/gs201/BoardConfig-common.mk
|
|||||||
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
|
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
|
||||||
include device/google/lynx/sepolicy/lynx-sepolicy.mk
|
include device/google/lynx/sepolicy/lynx-sepolicy.mk
|
||||||
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
|
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
|
||||||
|
|
||||||
|
DEVICE_PATH := device/google/lynx
|
||||||
|
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
|
||||||
|
7
lynx/BoardConfigLineage.mk
Normal file
7
lynx/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
lynx/device-lineage.mk
Normal file
9
lynx/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…
Reference in New Issue
Block a user