Skip to content

Commit

Permalink
marlin/sailfish: initial lineage bringup
Browse files Browse the repository at this point in the history
This is a squash of the following changes:

  Author: Dan Pasanen <[email protected]>
  Date:   Thu Dec 29 08:58:05 2016 -0600
      marlin/sailfish: initial lineage bringup
      Change-Id: I33e512ffe3395a8263d22456e2fb37dba9b8bca8

  Author: Bruno Martins <[email protected]>
  Date:   Fri Aug 10 13:34:48 2018 +0100
      marlin: Consider lineage_marlin product via the AOSP way
      Change-Id: If4e63de0e6e4150f086a8a912a0e9b2ec161492d

  Author: razorloves <[email protected]>
  Date:   Tue Apr 3 19:28:39 2018 -0500
      marlin: set build fingerprint instead of override
      Change-Id: Ifdd9a40db6bfad2b4a04c989e158ed7d6a0da19b

  Author: razorloves <[email protected]>
  Date:   Tue Aug 14 23:53:31 2018 -0500
      sailfish: Add sailfish lineage mk in marlin repo
      Change-Id: Ifc54834c0e3ee570c6d106b8fb5011a91c19a80d

Change-Id: I33e512ffe3395a8263d22456e2fb37dba9b8bca8
  • Loading branch information
invisiblek authored and razorloves committed Sep 17, 2019
1 parent 41e3a21 commit 17f6024
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AndroidProducts.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_marlin.mk \
$(LOCAL_DIR)/aosp_sailfish.mk
$(LOCAL_DIR)/aosp_sailfish.mk \
$(LOCAL_DIR)/lineage_marlin.mk \
$(LOCAL_DIR)/lineage_sailfish.mk

COMMON_LUNCH_CHOICES := \
aosp_marlin-userdebug \
Expand Down
3 changes: 3 additions & 0 deletions BoardConfigLineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Common board config for marlin, sailfish

-include vendor/google/marlin/BoardConfigVendor.mk
2 changes: 2 additions & 0 deletions device-lineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Overlays
DEVICE_PACKAGE_OVERLAYS += device/google/marlin/overlay-lineage
6 changes: 6 additions & 0 deletions lineage.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"repository": "android_kernel_google_marlin",
"target_path": "kernel/google/marlin"
}
]
26 changes: 26 additions & 0 deletions lineage_marlin.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Boot animation
TARGET_SCREEN_HEIGHT := 2560
TARGET_SCREEN_WIDTH := 1440

# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

# Inherit device configuration
$(call inherit-product, device/google/marlin/aosp_marlin.mk)

-include device/google/marlin/marlin/device-lineage.mk

## Device identifier. This must come after all inclusions
PRODUCT_NAME := lineage_marlin
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel XL
TARGET_MANUFACTURER := HTC
PRODUCT_RESTRICT_VENDOR_FILES := false

PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=marlin \
PRIVATE_BUILD_DESC="marlin-user 10 QP1A.190711.020 5800535 release-keys"

BUILD_FINGERPRINT := google/marlin/marlin:10/QP1A.190711.020/5800535:user/release-keys

$(call inherit-product-if-exists, vendor/google/marlin/marlin-vendor.mk)
26 changes: 26 additions & 0 deletions lineage_sailfish.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Boot animation
TARGET_SCREEN_HEIGHT := 1920
TARGET_SCREEN_WIDTH := 1080

# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

# Inherit device configuration
$(call inherit-product, device/google/marlin/aosp_sailfish.mk)

-include device/google/marlin/sailfish/device-lineage.mk

## Device identifier. This must come after all inclusions
PRODUCT_NAME := lineage_sailfish
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel
TARGET_MANUFACTURER := HTC
PRODUCT_RESTRICT_VENDOR_FILES := false

PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=sailfish \
PRIVATE_BUILD_DESC="sailfish-user 10 QP1A.190711.020 5800535 release-keys"

BUILD_FINGERPRINT := google/sailfish/sailfish:10/QP1A.190711.020/5800535:user/release-keys

$(call inherit-product-if-exists, vendor/google/marlin/marlin-vendor.mk)
3 changes: 3 additions & 0 deletions marlin/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Product-specific compile-time definitions
#

# Allow Lineage config to override others
-include device/google/marlin/marlin/BoardConfigLineage.mk

TARGET_BOARD_PLATFORM := msm8996
TARGET_BOOTLOADER_BOARD_NAME := marlin
TARGET_BOARD_INFO_FILE := device/google/marlin/marlin/board-info.txt
Expand Down
2 changes: 2 additions & 0 deletions marlin/BoardConfigLineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# BoardConfig for lineage_marlin
include device/google/marlin/BoardConfigLineage.mk
1 change: 1 addition & 0 deletions marlin/device-lineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$(call inherit-product, device/google/marlin/device-lineage.mk)
3 changes: 3 additions & 0 deletions sailfish/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Product-specific compile-time definitions
#

# Allow Lineage config to override others
-include device/google/marlin/sailfish/BoardConfigLineage.mk

TARGET_BOARD_PLATFORM := msm8996
TARGET_BOOTLOADER_BOARD_NAME := sailfish
TARGET_BOARD_INFO_FILE := device/google/marlin/sailfish/board-info.txt
Expand Down
2 changes: 2 additions & 0 deletions sailfish/BoardConfigLineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# BoardConfig for lineage_sailfish
include device/google/marlin/BoardConfigLineage.mk
1 change: 1 addition & 0 deletions sailfish/device-lineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$(call inherit-product, device/google/marlin/device-lineage.mk)

0 comments on commit 17f6024

Please sign in to comment.