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 766ACA054F; Mon, 15 Mar 2021 23:45:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C0E24068C; Mon, 15 Mar 2021 23:45:24 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id E75C84068B for ; Mon, 15 Mar 2021 23:45:21 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 856765C0172; Mon, 15 Mar 2021 18:45:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 15 Mar 2021 18:45:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= /MHBZ/q1Du6achEVY8y6H+kPdrn+Ow/XWI817UHHl44=; b=Qf6XFaZDRr0hZKe3 Gpi+RriGUkPDYmR0DwudUpuCZ7BMj+PcxWm7LBr9GFqcC9HgHH8zVPQcjO7X5l0A zvoc1UiYhh3VEdmDhSmSr8bp9F91WHWf6ZnZwwIKyZZG594WxLZRkb63nbQ+Meie u1kC9vdrTq5ffVuiUvVdUELD4bITgN/lZjw0yQ9whZSWpSZ1ma23+JxFwBtwXA4q vGgTMUcuXgDaaSUlDF/4V4MtH2Fz44zPOrn4IwW+8rfk9T62kZyZQ+N5SYCRnoUC jnZQfLuxbtCJlluWdqMhZFApkNlS1swr8TFjgSIACEGHgfUX6+4Dn5/MPPOkCiWz 0Rihqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=/MHBZ/q1Du6achEVY8y6H+kPdrn+Ow/XWI817UHHl 44=; b=keV4fLqTgCeJ10YslF5ShVQZxgOnkS0hEoy9Mw3idwnxx/z3sooq9YaSa p5s9191yL2yhTQGko5107tSfdzjFm2+D1raqFLhA5sQYWR+sAPAoO4OScD6BhLff 22kZ+CZQjZQepanXFxiOc4u4nbq74IXmKn0Epw1UffVJqrpqFkZ44iJ6PL12TIX/ smyqikYsNbSs/FlDVfIu4xXjLzvM1jTfUidsnUPsNYpBQjpOwpM37Y4k8B9yDOk1 MUCdEGoa0mHtrYqm2m1KHnvXLCKVrVITbmeTqbpexfbhH9qXw3qz0vk5RaHYXBV/ qI/jxvnX9IXS19FVcEfUg0dBWTPVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefudcutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg htthgvrhhnpeekteehtdeivefhieegjeelgedufeejheekkeetueevieeuvdevuedtjeev heevteenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdr nhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A36E024005C; Mon, 15 Mar 2021 18:45:19 -0400 (EDT) From: Thomas Monjalon To: Juraj =?utf-8?B?TGlua2XFoQ==?= Cc: bruce.richardson@intel.com, 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 Date: Mon, 15 Mar 2021 23:45:17 +0100 Message-ID: <20199195.qKVxMyuRmP@thomas> In-Reply-To: <1613048386-655-1-git-send-email-juraj.linkes@pantheon.tech> References: <1612860425-27646-1-git-send-email-juraj.linkes@pantheon.tech> <1613048386-655-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6] 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" 11/02/2021 13:59, Juraj Linke=C5=A1: > The kni linux module is using a custom target for building, which > doesn't take into account any cross compilation arguments. The arguments > in question are ARCH, CROSS_COMPILE (for gcc, clang) and CC, LD (for > clang). Get those from the cross file and pass them to the custom > target. >=20 > The user supplied path may not contain the 'build' directory, such as > when using cross-compiled headers, so only append that in the default > case (when no path is supplied in native builds) and use the unmodified > path from the user otherwise. Also modify the install path accordingly. >=20 > Signed-off-by: Juraj Linke=C5=A1 > Reviewed-by: Bruce Richardson Applied, thanks