[v5,1/2] config/arm: add SVE ACLE control flag
Checks
Commit Message
An additional check of control flag sve_acle for
RTE_HAS_SVE_ACLE macro to be part of the build.
If any SoC config doesn't have sve_acle flag parameter
then default it will be considered as true.
Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
Changes in v5: Updated commit message
Changes in v4:
- Resend patches. With v3, patches were not sent properly
in single series.
Changes in v3:
- Moved sve_acle condition to be consider for
RTE_HAS_SVE_ACLE flag only.
Changes in v2:
- Renamed the flag to sve_acle from sve
- Added double-indent.
config/arm/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.25.1
@@ -605,7 +605,7 @@ endif
if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) != ''
compile_time_cpuflags += ['RTE_CPUFLAG_SVE']
- if (cc.check_header('arm_sve.h'))
+ if (cc.check_header('arm_sve.h') and soc_config.get('sve_acle', true))
dpdk_conf.set('RTE_HAS_SVE_ACLE', 1)
endif
endif