summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/buildtools/pmdinfogen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/buildtools/pmdinfogen/Makefile')
-rw-r--r--src/spdk/dpdk/buildtools/pmdinfogen/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/spdk/dpdk/buildtools/pmdinfogen/Makefile b/src/spdk/dpdk/buildtools/pmdinfogen/Makefile
new file mode 100644
index 00000000..a97a7648
--- /dev/null
+++ b/src/spdk/dpdk/buildtools/pmdinfogen/Makefile
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2016 Neil Horman <nhorman@tuxdriver.com>
+# All rights reserved.
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+#
+# library name
+#
+HOSTAPP = dpdk-pmdinfogen
+
+#
+# all sources are stored in SRCS-y
+#
+SRCS-y += pmdinfogen.c
+
+HOST_CFLAGS += $(HOST_WERROR_FLAGS) -g
+HOST_CFLAGS += -I$(RTE_OUTPUT)/include
+
+include $(RTE_SDK)/mk/rte.hostapp.mk