src: fix src build issues
[barometer.git] / src / Makefile
index e7a472c..4785e85 100644 (file)
@@ -32,9 +32,12 @@ $(SUBBUILDS):
 
 with-dpdk:
 export WITH_DPDK
+
 include mk/master.mk
 SUBDIRS =
+ifdef WITH_DPDK
 SUBDIRS += dpdk
+endif
 SUBDIRS += libpqos
 SUBDIRS += pmu-tools
 SUBDIRS += collectd