modify meson.build for support compiling on riscv-64 systems Signed-off-by: Junlong Wang --- MAINTAINERS | 2 +- doc/guides/nics/zxdh.rst | 2 +- drivers/net/zxdh/meson.build | 10 ++-------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7aca98c537..4def220c64 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1092,7 +1092,7 @@ F: drivers/net/avp/ F: doc/guides/nics/avp.rst F: doc/guides/nics/features/avp.ini -ZTE zxdh - EXPERIMENTAL +ZTE zxdh M: Junlong Wang M: Lijie Shan F: drivers/net/zxdh/ diff --git a/doc/guides/nics/zxdh.rst b/doc/guides/nics/zxdh.rst index 47dabde97e..f1dfea86ab 100644 --- a/doc/guides/nics/zxdh.rst +++ b/doc/guides/nics/zxdh.rst @@ -54,4 +54,4 @@ for details. Limitations or Known issues --------------------------- -X86-32, Power8, ARMv7, RISC-V, Windows and BSD are not supported yet. +X86-32, Power8, ARMv7, RISC-V-32, Windows and BSD are not supported yet. diff --git a/drivers/net/zxdh/meson.build b/drivers/net/zxdh/meson.build index 7554d4dc60..0213ccb2fa 100644 --- a/drivers/net/zxdh/meson.build +++ b/drivers/net/zxdh/meson.build @@ -1,15 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2024 ZTE Corporation -if not is_linux +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on Linux' - subdir_done() -endif - -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' + reason = 'only supported on 64-bit Linux' subdir_done() endif -- 2.27.0