forked from openkylin/platform_build
add android-mainline kernels to aosp_arm64 build
To enable testing with android-mainline kernels, and them to the aosp_arm64 build so android-mainline-based GKI boot images are produced. Bug: 162020942 Change-Id: Ib1f957608a720a763a14324e4ca25ee170154fbb
This commit is contained in:
parent
41e1e5cfae
commit
3aeee6daea
|
@ -62,13 +62,18 @@ BOARD_KERNEL-4.19-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
|||
BOARD_KERNEL-5.4_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_KERNEL-5.4-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
BOARD_KERNEL-5.4-LZ4_BOOTIMAGE_PARTITION_SIZE := 53477376
|
||||
BOARD_KERNEL-MAINLINE_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_KERNEL-MAINLINE-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
BOARD_KERNEL-MAINLINE-LZ4_BOOTIMAGE_PARTITION_SIZE := 53477376
|
||||
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
|
||||
BOARD_RAMDISK_USE_LZ4 := true
|
||||
BOARD_BOOT_HEADER_VERSION := 3
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
|
||||
BOARD_KERNEL_BINARIES := kernel-4.19-gz kernel-5.4 kernel-5.4-gz kernel-5.4-lz4
|
||||
BOARD_KERNEL_BINARIES := kernel-4.19-gz kernel-5.4 kernel-5.4-gz kernel-5.4-lz4 \
|
||||
kernel-mainline kernel-mainline-gz kernel-mainline-lz4
|
||||
|
||||
# Some vendors still haven't cleaned up all device specific directories under
|
||||
# root!
|
||||
|
|
|
@ -18,4 +18,7 @@ PRODUCT_COPY_FILES += \
|
|||
kernel/prebuilts/4.19/arm64/Image.gz:kernel-4.19-gz \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4:kernel-5.4 \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4-gz:kernel-5.4-gz \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4-lz4:kernel-5.4-lz4
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4-lz4:kernel-5.4-lz4 \
|
||||
kernel/prebuilts/mainline/arm64/kernel-mainline:kernel-mainline \
|
||||
kernel/prebuilts/mainline/arm64/kernel-mainline-gz:kernel-mainline-gz \
|
||||
kernel/prebuilts/mainline/arm64/kernel-mainline-lz4:kernel-mainline-lz4
|
||||
|
|
Loading…
Reference in New Issue