From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7660A04B6; Thu, 17 Sep 2020 10:47:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86A031D5AE; Thu, 17 Sep 2020 10:47:51 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 963831D595 for ; Thu, 17 Sep 2020 10:47:50 +0200 (CEST) IronPort-SDR: Wg4EEQq3O1OXIQ1OqvGXJnadltvQ5iIMflv660y50SW65WUv2M71J6t5hO1eUcEAjmSHOEijJz SBkou9GztLVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9746"; a="221204916" X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="221204916" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 01:47:49 -0700 IronPort-SDR: pSR5hz1jKlj3Swsvmy1dOEPCaWD/iO4tQluLOZ+OoOOf0txDhfqX6oz+yTJLtxKVdMODgHLA91 KpapOq+ni32A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,436,1592895600"; d="scan'208";a="380464972" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.174]) by orsmga001.jf.intel.com with ESMTP; 17 Sep 2020 01:47:48 -0700 From: LihongX Ma To: dts@dpdk.org Cc: LihongX Ma Date: Thu, 17 Sep 2020 09:14:21 +0800 Message-Id: <1600305261-3063-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] framework/project_dpdk: add the extra_option to meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 --- 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