From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E57ED20D0E; Thu, 29 Mar 2018 11:40:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 29 Mar 2018 11:40:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=VdU6+/IDppnImolrulIeEdCHiI8+wEqhgO2yz6 CNhb4=; b=U3D7pSbt78OTOk9pEPLr1llMf5hpDS7S71JK3A/CndWxFD4vX8+qWM ZbiQdk33P2m5zhJD7bBD7VM8NrivF/oFiubxp7uacpoOFwWN0beVX7lMWu2/zqdK g+uEXpbGr7qy1Kva8yjfWkwJuNJUEAW6P9obYxEfWrUaoJLvl9Cnk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VdU6+/IDppnImolru lIeEdCHiI8+wEqhgO2yz6CNhb4=; b=Hm2+x8jZ4inpVf0IjiYZGE/264VS2Nc3L cHZnepQwh9KBcsur72tJBWAzgshzdHW+Hj/RoBSUwH5WeSHQ7GU0ZrLueFzd2gbI k2eHb8yrVymrD4mtVCRJykQpLbT8H0J5mr2d/FNdvw7FhY5v2uBrEppFPGzVpF/O 6tVPLGcfTgmrxitRXYK0PjgcsIMHGGKb4QKeHblmlAoymp6BLpOC4XIV72VNeKkN TBnSLZWqs4PFPfOAjZg0YjBexI1w+yTtUlPhTTAxkNbdaGX8daKenU2RhyYmtEw/ Anv29+JJ/K7r60wiUZZX5U3L4NnQKH2jgpfSGAou644yQJHy2KjRg== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5BC3E10253; Thu, 29 Mar 2018 11:40:00 -0400 (EDT) From: Thomas Monjalon To: hemant.agrawal@nxp.com Cc: dev@dpdk.org Date: Thu, 29 Mar 2018 17:39:31 +0200 Message-Id: <20180329153931.26351-1-thomas@monjalon.net> X-Mailer: git-send-email 2.16.2 Subject: [dpdk-dev] [PATCH] mk: fix kernel modules build dependency 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: , X-List-Received-Date: Thu, 29 Mar 2018 15:40:01 -0000 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