diff options
Diffstat (limited to 'meta-arm/ci/corstone1000-common.yml')
-rw-r--r-- | meta-arm/ci/corstone1000-common.yml | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/meta-arm/ci/corstone1000-common.yml b/meta-arm/ci/corstone1000-common.yml index 5720b783d2..4c71517651 100644 --- a/meta-arm/ci/corstone1000-common.yml +++ b/meta-arm/ci/corstone1000-common.yml @@ -9,34 +9,40 @@ local_conf_header: extrapackages: | # Intentionally blank to prevent perf from being added to the image in base.yml + firmwarebuild: | + # Only needed as kas doesn't add it automatically unless you have 2 targets in seperate configs + BBMULTICONFIG ?= "firmware" + distrosetup: | DISTRO_FEATURES = "usbhost ipv4" initramfsetup: | # Telling the build system which image is responsible of the generation of the initramfs rootfs - INITRAMFS_IMAGE_BUNDLE = "1" - INITRAMFS_IMAGE ?= "core-image-minimal" - IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" - IMAGE_NAME_SUFFIX = "" + INITRAMFS_IMAGE_BUNDLE:firmware = "1" + INITRAMFS_IMAGE:firmware ?= "core-image-minimal" + IMAGE_FSTYPES:firmware:pn-core-image-minimal = "${INITRAMFS_FSTYPES}" + IMAGE_NAME_SUFFIX:firmware = "" # enable mdev/busybox for init - INIT_MANAGER = "mdev-busybox" - VIRTUAL-RUNTIME_init_manager = "busybox" + INIT_MANAGER:firmware = "mdev-busybox" + VIRTUAL-RUNTIME_init_manager:firmware = "busybox" # prevent the kernel image from being included in the intramfs rootfs - PACKAGE_EXCLUDE += "kernel-image-*" - # Don't include kernel binary in rootfs /boot path - RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" + PACKAGE_EXCLUDE:firmware += "kernel-image-*" # Disable openssl in kmod to shrink the initramfs size - PACKAGECONFIG:remove:pn-kmod = "openssl" + PACKAGECONFIG:remove:firmware:pn-kmod = "openssl" + + imageextras: | + # Don't include kernel binary in rootfs /boot path + RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" # all optee packages - IMAGE_INSTALL += "optee-client" + CORE_IMAGE_EXTRA_INSTALL += "optee-client" # TS PSA API tests commands for crypto, its, ps and iat - IMAGE_INSTALL += "packagegroup-ts-tests-psa" + CORE_IMAGE_EXTRA_INSTALL += "packagegroup-ts-tests-psa" target: - - corstone1000-flash-firmware-image + - core-image-minimal - perf |