From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C46DA0524; Fri, 5 Feb 2021 16:02:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7FFC40682; Fri, 5 Feb 2021 16:02:29 +0100 (CET) Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id 300784067B for ; Fri, 5 Feb 2021 16:02:29 +0100 (CET) Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw01.pantheon.sk (Proxmox) with ESMTP id C51682019AF; Fri, 5 Feb 2021 16:02:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=dkim; bh=Bv9vTTA45Dr/4nLhhIua Msbh7VThKE3NZefqgqTF65g=; b=G42v2k/ei/RvCgLIyJg/X/nUq55aFxaz/0SH sHd7eOwCE0UcB535b+w7j1dl0iBuLA6XsaX4yYigSVHKMEoI4lhdgmVzz0sDDn90 atsD2AVNhzsSb1oPbABZuDT/DPnQHr6U/w9grCwymWDyBCIizXGHzLzBAGuTTgc/ cUJHnQf70wrtYqvvrEhmJhs6BGhF91c5r2ty5XrGOP+sn38ci98mdMvv0mf8Cjke PwxvJCB3NkFc7eli3SFHrtslAeQYBDDKKIzXYIXWU2XBuGVJ81Z/FR2Dy/RDfsON +ZyKviAKw4U6Wt6o4fMSxH6SuEIJHST3xe0W6fs1/2jGbX6mRg== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Bruce Richardson CC: "thomas@monjalon.net" , "Ruifeng.Wang@arm.com" , "Honnappa.Nagarahalli@arm.com" , "jerinjacobk@gmail.com" , "hemant.agrawal@nxp.com" , "ferruh.yigit@intel.com" , "aboyer@pensando.io" , "dev@dpdk.org" Thread-Topic: [RFC PATCH v3] build: kni cross-compilation support Thread-Index: AQHW+8232x01zQOBTUSGJb75/gvHcqpJlMIAgAAS8dA= Date: Fri, 5 Feb 2021 15:02:24 +0000 Message-ID: <3ab73a20ba414337b4778de0c11b581d@pantheon.tech> References: <1612432301-14961-1-git-send-email-juraj.linkes@pantheon.tech> <1612536397-18008-1-git-send-email-juraj.linkes@pantheon.tech> <20210205145246.GC1462@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20210205145246.GC1462@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.4.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC PATCH v3] build: kni cross-compilation support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnJ1Y2UgUmljaGFyZHNv biA8YnJ1Y2UucmljaGFyZHNvbkBpbnRlbC5jb20+DQo+IFNlbnQ6IEZyaWRheSwgRmVicnVhcnkg NSwgMjAyMSAzOjUzIFBNDQo+IFRvOiBKdXJhaiBMaW5rZcWhIDxqdXJhai5saW5rZXNAcGFudGhl b24udGVjaD4NCj4gQ2M6IHRob21hc0Btb25qYWxvbi5uZXQ7IFJ1aWZlbmcuV2FuZ0Bhcm0uY29t Ow0KPiBIb25uYXBwYS5OYWdhcmFoYWxsaUBhcm0uY29tOyBqZXJpbmphY29ia0BnbWFpbC5jb207 DQo+IGhlbWFudC5hZ3Jhd2FsQG54cC5jb207IGZlcnJ1aC55aWdpdEBpbnRlb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