From 6ef237b9d063590ca360b0acacae54cf25864d27 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Thu, 25 Mar 2021 17:56:15 +0800 Subject: [PATCH] Export prebuilt-info.txt of perbuilts kernel to dist aosp_arm64 and gsi_arm64 build the boot.img binaries with prebuilt kernels.Exporting the prebuilt-info.txt in dist folder makes to easier to see which kernel build on AndroidCI. Bug: 183504624 Test: lunch gsi_arm64-userdebug; make -j dist Change-Id: I18f63af8588ced93e57b9d24e3b196d6f5694e72 --- target/board/generic_arm64/device.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/board/generic_arm64/device.mk b/target/board/generic_arm64/device.mk index 37c0f2541..27dc158fb 100644 --- a/target/board/generic_arm64/device.mk +++ b/target/board/generic_arm64/device.mk @@ -24,7 +24,12 @@ PRODUCT_COPY_FILES += \ kernel/prebuilts/5.10/arm64/kernel-5.10-lz4:kernel-5.10-lz4 \ kernel/prebuilts/mainline/arm64/kernel-mainline-allsyms:kernel-mainline \ kernel/prebuilts/mainline/arm64/kernel-mainline-gz-allsyms:kernel-mainline-gz \ - kernel/prebuilts/mainline/arm64/kernel-mainline-lz4-allsyms:kernel-mainline-lz4 + kernel/prebuilts/mainline/arm64/kernel-mainline-lz4-allsyms:kernel-mainline-lz4 \ + +$(call dist-for-goals, dist_files, kernel/prebuilts/4.19/arm64/prebuilt-info.txt:kernel/4.19/prebuilt-info.txt) +$(call dist-for-goals, dist_files, kernel/prebuilts/5.4/arm64/prebuilt-info.txt:kernel/5.4/prebuilt-info.txt) +$(call dist-for-goals, dist_files, kernel/prebuilts/5.10/arm64/prebuilt-info.txt:kernel/5.10/prebuilt-info.txt) +$(call dist-for-goals, dist_files, kernel/prebuilts/mainline/arm64/prebuilt-info.txt:kernel/mainline/prebuilt-info.txt) ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) PRODUCT_COPY_FILES += \