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 1DF23A0471 for ; Thu, 18 Jul 2019 16:02:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E946C4C90; Thu, 18 Jul 2019 16:02:31 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 44B1EDE3; Thu, 18 Jul 2019 16:02:27 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2019 07:02:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,278,1559545200"; d="scan'208";a="367362940" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.222.58]) by fmsmga006.fm.intel.com with ESMTP; 18 Jul 2019 07:02:24 -0700 From: Herakliusz Lipiec To: Thomas Monjalon Cc: dev@dpdk.org, Herakliusz Lipiec , stable@dpdk.org, bruce.richardson@intel.com Date: Thu, 18 Jul 2019 15:03:30 +0100 Message-Id: <20190718140330.43109-1-herakliusz.lipiec@intel.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190718132912.28250-1-herakliusz.lipiec@intel.com> References: <20190718132912.28250-1-herakliusz.lipiec@intel.com> Subject: [dpdk-stable] [PATCH] mk: fix output directory name when compiling with custom kernel header dir X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" When building dpdk with differnt kernel headers by specifying RTE_KERNELDIR igb_uio is compiled to directory with a name of the version of kernel thats running on the system instead of the one that dpdk is actually compiled against. Fixed by replacing hardcoded value with value from RTE_KERNELDIR. Cc: stable@dpdk.org Cc: bruce.richardson@intel.com Signed-off-by: Herakliusz Lipiec --- resending v1 with corrected cc address for stable and corrected alignment. --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 5c4215cd7..a602dd6cc 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -27,7 +27,7 @@ ifeq ($(RTE_EXEC_ENV),linuxapp) RTE_EXEC_ENV=linux endif ifeq ($(RTE_EXEC_ENV),linux) -kerneldir ?= /lib/modules/$(shell uname -r)/extra/dpdk +kerneldir ?= $(subst /build,/extra/dpdk,$(RTE_KERNELDIR)) else kerneldir ?= /boot/modules endif -- 2.17.2