summaryrefslogtreecommitdiff
path: root/meta-arm/ci/corstone1000-common.yml
blob: 4c7151765130ab148b90db9900b4efa8d7366219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
header:
  version: 14
  includes:
    - ci/base.yml
    - ci/meta-openembedded.yml
    - ci/meta-secure-core.yml

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: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:firmware = "mdev-busybox"
    VIRTUAL-RUNTIME_init_manager:firmware = "busybox"

    # prevent the kernel image from being included in the intramfs rootfs
    PACKAGE_EXCLUDE:firmware += "kernel-image-*"

    # Disable openssl in kmod to shrink the initramfs size
    PACKAGECONFIG:remove:firmware:pn-kmod = "openssl"

  imageextras: |
    # Don't include kernel binary in rootfs /boot path
    RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""

    # all optee packages
    CORE_IMAGE_EXTRA_INSTALL += "optee-client"

    # TS PSA API tests commands for crypto, its, ps and iat
    CORE_IMAGE_EXTRA_INSTALL += "packagegroup-ts-tests-psa"

target:
  - core-image-minimal
  - perf