test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build
@ 2020-09-17  1:14 LihongX Ma
  2020-09-23  8:51 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: LihongX Ma @ 2020-09-17  1:14 UTC (permalink / raw)
  To: dts; +Cc: LihongX Ma

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(-)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index c1b5eaf..a2efd8f 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -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)
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build
  2020-09-17  1:14 [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build LihongX Ma
@ 2020-09-23  8:51 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-09-23  8:51 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-23  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  1:14 [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build LihongX Ma
2020-09-23  8:51 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).