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 C0579A0351; Thu, 3 Mar 2022 14:37:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CFF740687; Thu, 3 Mar 2022 14:37:28 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 28E3740141 for ; Thu, 3 Mar 2022 14:37:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646314647; x=1677850647; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BT2tJhmo08VA74Khh4rjfuF24Doyq5IZ2nEurHbW1Uc=; b=EQxfIXLdSP2RhkJU6axbJLDjYCWOR73lssdWKG18FP9+MtByO1MKVY7n kG3ZQ0cEC+sm6OazcpO2Y/4j0VqlkCQxuk0BqBrJI9TGYlZ4k7808x/W5 N+XWR6TMPBzNZ5GR7fy6DOK4K/fljhAIq7ZSeuiG+Lvgr/3RAYiX39lin voyy6m9AADUbTJVtRz+Pir8haz1lswLvG6k46aEsBLhrKgo8VtQ+wcPRN f1Hv4ucfv/2fUmKWSuNK3K85+zKWUb1QuJZziNEaAZThTTJqcxXny4Q/H B7Mf99MVMyF++Qe3+VwXAbgXCPEf9IG/PhKl0cyThTNIXwmFA0L22JqF7 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10274"; a="253605347" X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="253605347" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2022 05:37:24 -0800 X-IronPort-AV: E=Sophos;i="5.90,151,1643702400"; d="scan'208";a="709926525" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.26.98]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 03 Mar 2022 05:37:22 -0800 Date: Thu, 3 Mar 2022 13:37:19 +0000 From: Bruce Richardson To: Ferdinand Thiessen Cc: dev@dpdk.org Subject: Re: [PATCH v2] build: try to get kernel version from kernel source Message-ID: References: <20220303131230.31022-1-rpm@fthiessen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220303131230.31022-1-rpm@fthiessen.de> 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 On Thu, Mar 03, 2022 at 02:12:30PM +0100, Ferdinand Thiessen wrote: > When building the kernel modules, try to get the kernel > version from the kernel sources first. This fixes the > kernel modules installation directory if the target kernel > version differs from the host kernel version, like for > CI build or when packaging for linux distributions. > > Signed-off-by: Ferdinand Thiessen > --- > kernel/linux/meson.build | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > Acked-by: Bruce Richardson