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 DC2D9A0551; Mon, 17 Feb 2020 04:12:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F05C41B951; Mon, 17 Feb 2020 04:12:44 +0100 (CET) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id C377D2B93 for ; Mon, 17 Feb 2020 04:12:43 +0100 (CET) Received: by mail-lj1-f196.google.com with SMTP id q23so974999ljm.4 for ; Sun, 16 Feb 2020 19:12:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2DZYSO1R6GHjwBZh5LJtnWApYGVlwPDJ9aVc7Jieis4=; b=Dh/n3JkU9I5kj+Zj//5t7tYN9mupUZUM2p0c7G2JIOqYwB4pP6N1+vzhbAZFKUyyYC mlW2GeK4aK6ZMLyQIF+N8OFpXu09tyHaI5l9ktYrbaprqyykaNp60viYGOTz2AF85p53 LeiH2hmld1httVm1zO4o2OU0U4UeK+LR8HZjf1FC+R1NKJwxeLHRCK6/RhHvILud9WRL C8c8FJoXG8ElkvD2XA4tjxorwPqYGOaJ+qwxTns2fgROmcBhYcSUrqtgZoHNrbeZYhsn f6lNfdWb04P4oyjiKeF9zuMpUVqDoPoYaAv3FfplVmYfqeA3BsNy8OlT0lYuMCB9FvsD kKRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2DZYSO1R6GHjwBZh5LJtnWApYGVlwPDJ9aVc7Jieis4=; b=n2n+5dxzWKk41WV7dAWMwC6DBpaAIpdTBNunvcRSJaHd/IKAURAE0SufusnmQV5s/y E9xCrlvYKuyFDEv9nnzoNykEYFre9sDZVWBPX+UUQ0dBTNWCCTZPiiGvH/pNx4KgTERy TReCY42YCQ6w67SU2ApbcHcQA7NLn4ESem893sOxJOMZwCJhEZyN2WeJb4vzCyP8NWOC hSLLTlVR90dgpvHgxu9xFzw7pe7xK6Zwy4vwHrcMvzXmNrPrD1bIfz7dj1bIeWYBi4IE 5inPHCxSxiaY4OotOiOjqhyZUGuNnFOm6fjdIsA/AZwkhJlFs3DundGR9hGXQMhBqYSY 5aYw== X-Gm-Message-State: APjAAAVQmiG4g9Dc5rLOeU8dPgmCrDlHNt7QWs/dmsqY0HJ3fCxAGWAC kk1Q9T9WBjKwUhdoXzTr1Vw= X-Google-Smtp-Source: APXvYqzXZc6u1/5MeCdSsm8OPo2mQM2zaSZdPbH65d8wV1+PdExjSJwzDZFDN1FUjLVZbArhQKtamw== X-Received: by 2002:a2e:8152:: with SMTP id t18mr8648625ljg.255.1581909163107; Sun, 16 Feb 2020 19:12:43 -0800 (PST) Received: from Sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id 19sm7972779lft.81.2020.02.16.19.12.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Feb 2020 19:12:42 -0800 (PST) Date: Mon, 17 Feb 2020 06:12:41 +0300 From: Dmitry Kozlyuk To: Ye Xiaolong Cc: Thomas Monjalon , John McNamara , Marko Kovacevic , dev@dpdk.org, Bruce Richardson , Stephen Hemminger Message-ID: <20200217061241.6661c175@Sovereign> In-Reply-To: <20200217011821.GB61057@intel.com> References: <20191129081911.92988-1-xiaolong.ye@intel.com> <2438326.H8VbNj7W2P@xps> <20200216172938.GA61057@intel.com> <10012834.3WhfQktd6Z@xps> <20200217011821.GB61057@intel.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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/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 -- Dmitry Kozlyuk