forked from openkylin/platform_build
Merge "add kernels with untrimmed symbols to aosp_arm64" am: a74903c755
am: 896997628d
Original change: https://android-review.googlesource.com/c/platform/build/+/1402952 Change-Id: I90d74be12eb421bb01ab6d5f7e663fba56d32e34
This commit is contained in:
commit
4a0f6c33a4
|
@ -60,8 +60,11 @@ BOARD_USES_RECOVERY_AS_BOOT := true
|
|||
|
||||
BOARD_KERNEL-4.19-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
BOARD_KERNEL-5.4_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_KERNEL-5.4-ALLSYMS_BOOTIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_KERNEL-5.4-GZ_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
BOARD_KERNEL-5.4-GZ-ALLSYMS_BOOTIMAGE_PARTITION_SIZE := 47185920
|
||||
BOARD_KERNEL-5.4-LZ4_BOOTIMAGE_PARTITION_SIZE := 53477376
|
||||
BOARD_KERNEL-5.4-LZ4-ALLSYMS_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
|
||||
|
@ -74,6 +77,9 @@ 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 \
|
||||
kernel-mainline kernel-mainline-gz kernel-mainline-lz4
|
||||
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
|
||||
BOARD_KERNEL_BINARIES += kernel-5.4-allsyms kernel-5.4-gz-allsyms kernel-5.4-lz4-allsyms
|
||||
endif
|
||||
|
||||
# Some vendors still haven't cleaned up all device specific directories under
|
||||
# root!
|
||||
|
|
|
@ -22,3 +22,10 @@ PRODUCT_COPY_FILES += \
|
|||
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
|
||||
|
||||
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4:kernel-5.4-allsyms \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4-gz:kernel-5.4-gz-allsyms \
|
||||
device/google/cuttlefish_kernel/5.4-arm64/kernel-5.4-lz4:kernel-5.4-lz4-allsyms
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue