From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] mk: fix kernel modules build dependency Date: Thu, 29 Mar 2018 17:39:31 +0200 Message-ID: <20180329153931.26351-1-thomas@monjalon.net> Cc: dev@dpdk.org To: hemant.agrawal@nxp.com Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 854792BCD for ; Thu, 29 Mar 2018 17:40:01 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some kernel modules may need some header files to be "installed" in the build directory. When running multiple threads of make, kernel modules can try to be compiled before the lib headers are ready: make -j3 kernel/linux/kni/kni_misc.c:19:37: fatal error: exec-env/rte_kni_common.h: No such file or directory This error appeared recently after moving kernel modules in their own directory. Fixes: acaa9ee991b5 ("move kernel modules directories") Signed-off-by: Thomas Monjalon --- On a related note, this header file lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h could be moved to lib/librte_kni/ Opinion? --- mk/rte.sdkbuild.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index 53e0721e9..5dc43e429 100644 --- a/mk/rte.sdkbuild.mk +++ b/mk/rte.sdkbuild.mk @@ -14,6 +14,7 @@ endif -include $(RTE_SDK)/mk/exec-env/$(RTE_EXEC_ENV)/rte.custom.mk buildtools: | lib +kernel: | lib drivers: | lib buildtools app: | lib buildtools drivers test: | lib buildtools drivers -- 2.16.2