[spp] [PATCH v2 1/1] src/Makefile: add dependency

Itsuro Oda oda at valinux.co.jp
Tue Jan 21 02:22:42 CET 2020


When making parallel (make -j) it is necessary to guarantee
that drivers are built before applications.

Signed-off-by: Itsuro Oda <oda at valinux.co.jp>
---
 src/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Makefile b/src/Makefile
index 2f46606..72a0910 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -38,6 +38,12 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
+DEPDIRS-primary := drivers
+DEPDIRS-nfv := drivers
+DEPDIRS-vf := drivers
+DEPDIRS-mirror := drivers
+DEPDIRS-pcap := drivers
+
 DIRS-y += drivers
 DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += primary
 DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += nfv
-- 
2.17.1



More information about the spp mailing list