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