[spp] [PATCH v3 2/3] tools: add Makefile for vdev_test

Itsuro Oda oda at valinux.co.jp
Mon Mar 2 01:00:36 CET 2020


This patch adds Makefile of tools to build vdev_test.

Signed-off-by: Itsuro Oda <oda at valinux.co.jp>
---
 tools/Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 tools/Makefile

diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..40c1310
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2020 Nippon Telegraph and Telephone Corporation
+
+ifeq ($(RTE_SDK),)
+$(error "Please define RTE_SDK environment variable")
+endif
+
+# Default target, can be overriden by command line or environment
+RTE_TARGET ?= x86_64-native-linuxapp-gcc
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+DIRS-y += vdev_test
+
+include $(RTE_SDK)/mk/rte.extsubdir.mk
-- 
2.17.1



More information about the spp mailing list