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 3C006A09E4; Fri, 29 Jan 2021 13:33:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F4135240134; Fri, 29 Jan 2021 13:33:08 +0100 (CET) Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id E6ABD40694 for ; Fri, 29 Jan 2021 13:33:07 +0100 (CET) Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw01.pantheon.sk (Proxmox) with ESMTP id 58A4E202E48; Fri, 29 Jan 2021 13:33:07 +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=j12NlZMXnHzPmOtv+Sc9 vAv0zRTV04VBEJRVy4R/Tw4=; b=SICj/rGqD7iMCSOUTpY4LVlsesWWgORpuDYQ 9SAcfaNqQFndoSfA9VSTaZgiorBBxG8DYH/pYD8kaFaOzn8HPp9VGvkJvRF9eJmK ZJ55FGQ3rhXwLeB8Y1xj7KP9YDODWrKxkztu5WbJKfIlkSwb/kdjLRkaSBCUPD1Q RE74SaQyup39poitWd6SFA3hbSWR7W/TYEhG5zP2MoGUN0abiOx4ont90lTn2V1f QMg86ESriW6EuU/J9eHJhxBvJu9jOkZaLpPny9KLU/9nD1P/5nB8AA3u8/cXJSLe laoJrtf5g7h6LUIgIs8qRjkS5PE0q2E/1AvGvSLtzIpnNMl+xQ== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Bruce Richardson CC: "thomas@monjalon.net" , "Ruifeng.Wang@arm.com" , "jerinjacobk@gmail.com" , "hemant.agrawal@nxp.com" , "ferruh.yigit@intel.com" , "aboyer@pensando.io" , "dev@dpdk.org" Thread-Topic: [RFC PATCH v1] build: kni gcc cross-compilation support Thread-Index: AQHW9imc4MPhw3fYe0u/BHQMGh63u6o+auIAgAAZTJA= Date: Fri, 29 Jan 2021 12:33:06 +0000 Message-ID: References: <1611916159-32158-1-git-send-email-juraj.linkes@pantheon.tech> <20210129114340.GE929@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20210129114340.GE929@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 v1] build: kni gcc 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+IFNlbnQ6IEZyaWRheSwgSmFudWFyeSAy OSwgMjAyMSAxMjo0NCBQTQ0KPiBUbzogSnVyYWogTGlua2XFoSA8anVyYWoubGlua2VzQHBhbnRo ZW9uLnRlY2g+DQo+IENjOiB0aG9tYXNAbW9uamFsb24ubmV0OyBSdWlmZW5nLldhbmdAYXJtLmNv bTsgamVyaW5qYWNvYmtAZ21haWwuY29tOw0KPiBoZW1hbnQuYWdyYXdhbEBueHAuY29tOyBmZXJy dWgueWlnaXRAaW50ZWwuY29tOyBhYm95ZXJAcGVuc2FuZG8uaW87DQo+IGRldkBkcGRrLm9yZw0K PiBTdWJqZWN0OiBSZTogW1JGQyBQQVRDSCB2MV0gYnVpbGQ6IGtuaSBnY2MgY3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