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 5C98CA0551; Mon, 17 Feb 2020 07:23:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8F472C4F; Mon, 17 Feb 2020 07:23:29 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 0C106B62 for ; Mon, 17 Feb 2020 07:23:27 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2020 22:23:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,451,1574150400"; d="scan'208";a="407676714" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga005.jf.intel.com with ESMTP; 16 Feb 2020 22:23:24 -0800 Date: Mon, 17 Feb 2020 14:21:53 +0800 From: Ye Xiaolong To: Dmitry Kozlyuk Cc: Thomas Monjalon , John McNamara , Marko Kovacevic , dev@dpdk.org, Bruce Richardson , Stephen Hemminger Message-ID: <20200217062152.GC60672@intel.com> References: <20191129081911.92988-1-xiaolong.ye@intel.com> <2438326.H8VbNj7W2P@xps> <20200216172938.GA61057@intel.com> <10012834.3WhfQktd6Z@xps> <20200217011821.GB61057@intel.com> <20200217061241.6661c175@Sovereign> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200217061241.6661c175@Sovereign> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v5] doc: introduce openwrt how-to guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 02/17, Dmitry Kozlyuk wrote: >> On 02/16, Thomas Monjalon wrote: >> >16/02/2020 18:29, Ye Xiaolong: >> >> On 02/16, Thomas Monjalon wrote: >> >> >18/01/2020 06:48, Xiaolong Ye: >> >> >[...] >> >> >> + [binaries] >> >> >> + c = 'x86_64-openwrt-linux-gcc' >> >> >> + cpp = 'x86_64-openwrt-linux-cpp' >> >> >> + ar = 'x86_64-openwrt-linux-ar' >> >> >> + strip = 'x86_64-openwrt-linux-strip' >> >> >> + >> >> >> + meson builddir --cross-file openwrt-cross >> >> > >> >> >This is really a good example why meson should allow to override the toolchain prefix. >> >> >> >> Not sure whether I get your point or not, do you mean meson should support >> >> something like "cross = 'x86_64-openwrt-linux-'" in config file (just like the >> >> CROSS_COMPILE for make build system), so we don't need to override the build >> >> tools one by one? >> > >> >Yes, I think meson should support CROSS_COMPILE environment variable >> >or a similar config option. I don't see the point of creating a new >> >config file for each toolchain prefix. >> >> Totally agree, I would try to work on this to make it happen. > >You might be interested in this PR and its discussion: >https://github.com/mesonbuild/meson/pull/5859 Thanks for the info, I'll look into it. Thanks, Xiaolong > >-- >Dmitry Kozlyuk