LeOS-GSI/patches/leos/platform_device_phh_treble/0002-LeOS-Stuff.patch

90 lines
3.1 KiB
Diff

From d5f70e02277ae0389693651b7d62ac5dcb1ea9d6 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Mon, 11 Dec 2023 17:20:55 +0100
Subject: [PATCH] LeOS-Stuff
---
generate.sh | 31 +++++--------------
{tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk | 0
.../BoardConfig.mk | 0
tdgsi_a64_a/BoardConfig.mk | 8 -----
tdgsi_arm64_a/BoardConfig.mk | 7 -----
tdgsi_arm_a/BoardConfig.mk | 11 -------
tdgsi_arm_ab/BoardConfig.mk | 7 -----
7 files changed, 8 insertions(+), 56 deletions(-)
rename {tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk (100%)
rename {tdgsi_arm64_ab => leos_arm64_ab}/BoardConfig.mk (100%)
delete mode 100644 tdgsi_a64_a/BoardConfig.mk
delete mode 100644 tdgsi_arm64_a/BoardConfig.mk
delete mode 100644 tdgsi_arm_a/BoardConfig.mk
delete mode 100644 tdgsi_arm_ab/BoardConfig.mk
diff --git a/tdgsi_a64_ab/BoardConfig.mk b/leos_a64_ab/BoardConfig.mk
similarity index 100%
rename from tdgsi_a64_ab/BoardConfig.mk
rename to leos_a64_ab/BoardConfig.mk
diff --git a/tdgsi_arm64_ab/BoardConfig.mk b/leos_arm64_ab/BoardConfig.mk
similarity index 100%
rename from tdgsi_arm64_ab/BoardConfig.mk
rename to leos_arm64_ab/BoardConfig.mk
diff --git a/tdgsi_a64_a/BoardConfig.mk b/tdgsi_a64_a/BoardConfig.mk
deleted file mode 100644
index d430bf8..0000000
--- a/tdgsi_a64_a/BoardConfig.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
-include device/phh/treble/board-base.mk
-
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
-endif
-TARGET_USES_64_BIT_BINDER := true
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
diff --git a/tdgsi_arm64_a/BoardConfig.mk b/tdgsi_arm64_a/BoardConfig.mk
deleted file mode 100644
index c9bc831..0000000
--- a/tdgsi_arm64_a/BoardConfig.mk
+++ /dev/null
@@ -1,7 +0,0 @@
-include build/make/target/board/generic_arm64_ab/BoardConfig.mk
-include device/phh/treble/board-base.mk
-
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2080374784
-endif
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
diff --git a/tdgsi_arm_a/BoardConfig.mk b/tdgsi_arm_a/BoardConfig.mk
deleted file mode 100644
index 7340fc4..0000000
--- a/tdgsi_arm_a/BoardConfig.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
-include device/phh/treble/board-base.mk
-
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1313583104
-else
-BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 25165824
-endif
-
-TARGET_USES_64_BIT_BINDER := false
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
diff --git a/tdgsi_arm_ab/BoardConfig.mk b/tdgsi_arm_ab/BoardConfig.mk
deleted file mode 100644
index a9a4fe3..0000000
--- a/tdgsi_arm_ab/BoardConfig.mk
+++ /dev/null
@@ -1,7 +0,0 @@
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
-include device/phh/treble/board-base.mk
-
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
-endif
-TARGET_USES_64_BIT_BINDER := false
--
2.34.1