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 1EB14A0471 for ; Thu, 18 Jul 2019 15:28:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4EA6325F; Thu, 18 Jul 2019 15:28:11 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4C6252082 for ; Thu, 18 Jul 2019 15:28:09 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2019 06:28:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,278,1559545200"; d="scan'208";a="170573223" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.222.58]) by orsmga003.jf.intel.com with ESMTP; 18 Jul 2019 06:28:06 -0700 From: Herakliusz Lipiec To: Thomas Monjalon Cc: dev@dpdk.org, Herakliusz Lipiec , stable@intel.com, bruce.richardson@intel.com Date: Thu, 18 Jul 2019 14:29:12 +0100 Message-Id: <20190718132912.28250-1-herakliusz.lipiec@intel.com> X-Mailer: git-send-email 2.17.2 Subject: [dpdk-dev] [PATCH] mk: fix output directory name when compiling with custom kernel header dir X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 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@intel.com Cc: bruce.richardson@intel.com Signed-off-by: Herakliusz Lipiec --- 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