• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16TARGET_ARCH := arm64
17TARGET_ARCH_VARIANT := armv8-a
18TARGET_CPU_ABI := arm64-v8a
19TARGET_CPU_ABI2 :=
20TARGET_CPU_VARIANT := generic
21
22TARGET_2ND_ARCH := arm
23TARGET_2ND_ARCH_VARIANT := armv8-a
24TARGET_2ND_CPU_ABI := armeabi-v7a
25TARGET_2ND_CPU_ABI2 := armeabi
26TARGET_2ND_CPU_VARIANT := generic
27
28include device/generic/common/BoardConfigGkiCommon.mk
29
30# Boot image with ramdisk and kernel
31BOARD_RAMDISK_USE_LZ4 := true
32BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK := false
33
34BOARD_KERNEL-4.19-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
35BOARD_KERNEL-4.19-GZ-ALLSYMS_BOOTIMAGE_PARTITION_SIZE := 47185920
36
37BOARD_KERNEL_BINARIES := \
38    kernel-4.19-gz \
39
40ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
41BOARD_KERNEL_BINARIES += \
42    kernel-4.19-gz-allsyms \
43
44endif
45