Skip to content
  • Divin Raj's avatar
    yocto: Enable conditional SVE build support · e7ba22b4
    Divin Raj authored and Diego Sueiro's avatar Diego Sueiro committed
    
    
    This commit introduces conditional SVE (Scalable Vector Extension)
    configuration options in various Yocto meta-kronos files. The condition
    is based on the value of the 'SVE_DISABLE_FLAG' variable, which, when
    set to '1', disables SVE features.
    
    Changes made in this commit:
    - In 'conf/multiconfig/domu.conf', the 'TUNE_CCARGS_MARCH_OPTS'
      variable is updated to include '+sve' only when 'SVE_DISABLE_FLAG'
      is not set.
    - In 'recipes-core/domu-package/domu-envs.inc', the 'DOMU1_SVE' and
      'DOMU2_SVE' variables are updated to include SVE settings only when
      'SVE_DISABLE_FLAG' is not set.
    - In 'recipes-extended/xen-cfg/xen-cfg.bb', the
      'EXTRA_XEN_CMDLINE_CONFIG' variable is updated to conditionally
      include 'dom0=sve=128' based on the value of 'SVE_DISABLE_FLAG'.
    - In 'yocto/kas/base.yml', Introduced SVE_DISABLE_FLAG variable
    - In 'classes/fvp_rd_kronos_image_features.bbclass', the TEST_SUITES is
      updated to include sve test suit only when 'SVE_DISABLE_FLAG'
      is not set.
    
    Signed-off-by: default avatarDivin Raj <divin.raj@arm.com>
    e7ba22b4