net/sfc: fix aarch32 build
The sfc PMD was enabled for aarch32 which is 32-bit mode but has cpu_family set to aarch64. As sfc support only 64-bit system, it should be disabled for aarch32. Updated meson file to disable sfc for aarch32 build. Fixes: 141d2870675a ("net/sfc: support aarch64 architecture") Cc: stable@dpdk.org Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
This commit is contained in:
parent
2c6d456b76
commit
a5f1b1e515
@ -10,7 +10,7 @@ if is_windows
|
||||
reason = 'not supported on Windows'
|
||||
endif
|
||||
|
||||
if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))
|
||||
if (arch_subdir != 'x86' and arch_subdir != 'arm') or (not dpdk_conf.get('RTE_ARCH_64'))
|
||||
build = false
|
||||
reason = 'only supported on x86_64 and aarch64'
|
||||
endif
|
||||
|
@ -12,7 +12,7 @@ if is_windows
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))
|
||||
if (arch_subdir != 'x86' and arch_subdir != 'arm') or (not dpdk_conf.get('RTE_ARCH_64'))
|
||||
build = false
|
||||
reason = 'only supported on x86_64 and aarch64'
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user