From: Thomas Monjalon Date: Thu, 29 Mar 2018 15:28:26 +0000 (+0200) Subject: mk: fix kernel modules build dependency X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=984af543c254be1fc3f0ae46f381d75dcd0af361;p=dpdk.git mk: fix kernel modules build dependency 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 Acked-by: Ferruh Yigit --- diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk index 53e0721e93..5dc43e429f 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