Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | header: |
Andrew Geissler | 23e0279 | 2023-07-21 09:06:10 -0500 | [diff] [blame] | 2 | version: 14 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 3 | includes: |
| 4 | - ci/base.yml |
| 5 | - ci/meta-openembedded.yml |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 6 | - ci/meta-secure-core.yml |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 7 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 8 | local_conf_header: |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 9 | extrapackages: | |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 10 | # Intentionally blank to prevent perf from being added to the image in base.yml |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 11 | |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 12 | firmwarebuild: | |
| 13 | # Only needed as kas doesn't add it automatically unless you have 2 targets in seperate configs |
| 14 | BBMULTICONFIG ?= "firmware" |
| 15 | |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 16 | distrosetup: | |
| 17 | DISTRO_FEATURES = "usbhost ipv4" |
| 18 | |
| 19 | initramfsetup: | |
| 20 | # Telling the build system which image is responsible of the generation of the initramfs rootfs |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 21 | INITRAMFS_IMAGE_BUNDLE:firmware = "1" |
| 22 | INITRAMFS_IMAGE:firmware ?= "core-image-minimal" |
| 23 | IMAGE_FSTYPES:firmware:pn-core-image-minimal = "${INITRAMFS_FSTYPES}" |
| 24 | IMAGE_NAME_SUFFIX:firmware = "" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 25 | |
| 26 | # enable mdev/busybox for init |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 27 | INIT_MANAGER:firmware = "mdev-busybox" |
| 28 | VIRTUAL-RUNTIME_init_manager:firmware = "busybox" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 29 | |
| 30 | # prevent the kernel image from being included in the intramfs rootfs |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 31 | PACKAGE_EXCLUDE:firmware += "kernel-image-*" |
| 32 | |
| 33 | # Disable openssl in kmod to shrink the initramfs size |
| 34 | PACKAGECONFIG:remove:firmware:pn-kmod = "openssl" |
| 35 | |
| 36 | imageextras: | |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 37 | # Don't include kernel binary in rootfs /boot path |
| 38 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" |
| 39 | |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 40 | # all optee packages |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 41 | CORE_IMAGE_EXTRA_INSTALL += "optee-client" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 42 | |
| 43 | # TS PSA API tests commands for crypto, its, ps and iat |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 44 | CORE_IMAGE_EXTRA_INSTALL += "packagegroup-ts-tests-psa" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 45 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 46 | target: |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 47 | - core-image-minimal |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 48 | - perf |