From: LihongX Ma <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: LihongX Ma <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build
Date: Thu, 17 Sep 2020 09:14:21 +0800 [thread overview]
Message-ID: <1600305261-3063-1-git-send-email-lihongx.ma@intel.com> (raw)
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
next reply other threads:[~2020-09-17 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-17 1:14 LihongX Ma [this message]
2020-09-23 8:51 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600305261-3063-1-git-send-email-lihongx.ma@intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).