build: Add initramfs files for VM userspace compilation

There are a few initramfs files from the kernel build that are
required for userspace VM compilation.

Include these files in the dist output.

Change-Id: I7539538fc44626fc3aee58f157ba245d342cf4ec
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
This commit is contained in:
John Moon 2023-01-30 15:08:47 -08:00
parent 210cc4e155
commit c1f79d7980

View File

@ -138,6 +138,13 @@ def _define_kernel_build(
out_list.remove("Image.lz4")
out_list.remove("Image.gz")
# Add initramfs outputs
out_list.extend([
"usr/gen_init_cpio",
"usr/initramfs_data.cpio",
"usr/initramfs_inc_data",
])
kernel_build(
name = target,
outs = out_list,
@ -201,6 +208,7 @@ def _define_kernel_dist(target, msm_target, variant):
"**/vmlinux": "755",
"**/Image": "755",
"**/*.dtb*": "755",
"**/gen_init_cpio": "755",
"**/*": "644",
},
log = "info",