From 984af543c254be1fc3f0ae46f381d75dcd0af361 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 29 Mar 2018 17:28:26 +0200 Subject: [PATCH] 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 --- mk/rte.sdkbuild.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1