diff options
author | SzuWei Lin | 2019-01-02 22:49:55 -0600 |
---|---|---|
committer | SzuWei Lin | 2019-01-08 03:35:05 -0600 |
commit | 1457b3fcbf4126eb24f874113ce2000aa7f92b79 (patch) | |
tree | 02270ff1fbe309349102720b71ff00f9ad4de845 /target/board/generic_arm64_ab/BoardConfig.mk | |
parent | aee5affa6d92c91a293b10a5a595bb3b28744a08 (diff) | |
download | platform-build-1457b3fcbf4126eb24f874113ce2000aa7f92b79.tar.gz platform-build-1457b3fcbf4126eb24f874113ce2000aa7f92b79.tar.xz platform-build-1457b3fcbf4126eb24f874113ce2000aa7f92b79.zip |
Refactor GSI BoardConfig.mk
The patch modifies the Legacy GSI to use BoardConfigGsiCommon.mk
instead of board config treble-common*.mk, and delete these
treble-common*.mk files.
After the patch, the GSI common board configs are in single file
BoardConfigGsiCommon.mk
The patch also includes:
- Moving `TARGET_COPY_OUT_VENDOR := vendor` to
BoardConfigGsiCommon.mk, because GSI always contains no vendor
contents.
- Configure the binder interface bitness explicitly.
- Unify the structure of each BoardConfig.mk.
Bug: 122282239
Test: compare the out folder between with and without the patch
Test: output files are all the same
Change-Id: Ie5901446920dda317dea848e6d5a7bbcf10a32cf
Diffstat (limited to 'target/board/generic_arm64_ab/BoardConfig.mk')
-rw-r--r-- | target/board/generic_arm64_ab/BoardConfig.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/board/generic_arm64_ab/BoardConfig.mk b/target/board/generic_arm64_ab/BoardConfig.mk index 88b90a8fb..073eccb9d 100644 --- a/target/board/generic_arm64_ab/BoardConfig.mk +++ b/target/board/generic_arm64_ab/BoardConfig.mk | |||
@@ -14,7 +14,7 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | # | 15 | # |
16 | 16 | ||
17 | include build/make/target/board/treble_common_64.mk | 17 | include build/make/target/board/BoardConfigGsiCommon.mk |
18 | 18 | ||
19 | TARGET_ARCH := arm64 | 19 | TARGET_ARCH := arm64 |
20 | TARGET_ARCH_VARIANT := armv8-a | 20 | TARGET_ARCH_VARIANT := armv8-a |
@@ -28,7 +28,7 @@ TARGET_2ND_CPU_ABI := armeabi-v7a | |||
28 | TARGET_2ND_CPU_ABI2 := armeabi | 28 | TARGET_2ND_CPU_ABI2 := armeabi |
29 | TARGET_2ND_CPU_VARIANT := generic | 29 | TARGET_2ND_CPU_VARIANT := generic |
30 | 30 | ||
31 | # Enable A/B update | 31 | # Enable System-as-Root |
32 | TARGET_NO_RECOVERY := true | 32 | TARGET_NO_RECOVERY := true |
33 | BOARD_BUILD_SYSTEM_ROOT_IMAGE := true | 33 | BOARD_BUILD_SYSTEM_ROOT_IMAGE := true |
34 | 34 | ||