[V1] framework/project_dpdk: add the extra_option to meson build
Commit Message
some build option have been defined in meson build file,
eg: max_ethports, so it can not been configured by c_args,
add the extra_options to build command to config these options.
Signed-off-by: LihongX Ma <lihongx.ma@intel.com>
---
framework/project_dpdk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
> Subject: [dts] [PATCH V1] framework/project_dpdk: add the extra_option to
> meson build
>
> some build option have been defined in meson build file,
> eg: max_ethports, so it can not been configured by c_args, add the
> extra_options to build command to config these options.
>
> Signed-off-by: LihongX Ma <lihongx.ma@intel.com>
Applied
@@ -307,8 +307,8 @@ class DPDKdut(Dut):
options_config = self.generator_build_option_string()
self.send_expect("rm -rf " + target, "#")
- out = self.send_expect("CC=%s meson --werror -Denable_kmods=True -Dlibdir=lib %s --default-library=%s %s" % (
- toolchain, options_config, default_library, target), "# ", build_time)
+ out = self.send_expect("CC=%s meson --werror -Denable_kmods=True %s -Dlibdir=lib %s --default-library=%s %s" % (
+ toolchain, extra_options, options_config, default_library, target), "# ", build_time)
assert ("FAILED" not in out), "meson setup failed ..."
out = self.send_expect("ninja -C %s -j %d" % (target, self.number_of_cores), "# ", build_time)