From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 2/4] spp_vf: update makefile for moved common files
Date: Wed, 8 May 2019 11:00:04 +0900 [thread overview]
Message-ID: <1557280806-7672-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1557280806-7672-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
As common files are moved from `src/vf/common`, update include and
source paths.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/vf/Makefile | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/vf/Makefile b/src/vf/Makefile
index 03c668f..a8b60fb 100644
--- a/src/vf/Makefile
+++ b/src/vf/Makefile
@@ -11,19 +11,26 @@ include $(RTE_SDK)/mk/rte.vars.mk
# binary name
APP = spp_vf
+SPP_WKT_DIR = ../shared/secondary/spp_worker_th
+
# all source are stored in SRCS-y
SRCS-y := spp_vf.c classifier_mac.c spp_forward.c
-SRCS-y += common/string_buffer.c common/ringlatencystats.c common/spp_port.c
-SRCS-y += common/command_conn.c common/command_dec.c common/command_proc.c
-SRCS-y += common/spp_proc.c
+SRCS-y += $(SPP_WKT_DIR)/string_buffer.c
+SRCS-y += $(SPP_WKT_DIR)/ringlatencystats.c
+SRCS-y += $(SPP_WKT_DIR)/spp_port.c
+SRCS-y += $(SPP_WKT_DIR)/command_conn.c
+SRCS-y += $(SPP_WKT_DIR)/command_dec.c
+SRCS-y += $(SPP_WKT_DIR)/command_proc.c
+SRCS-y += $(SPP_WKT_DIR)/spp_proc.c
SRCS-y += ../shared/common.c
SRCS-y += ../shared/secondary/utils.c ../shared/secondary/add_port.c
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -O3 -MMD
CFLAGS += -I$(SRCDIR)/../
-CFLAGS += -I$(SRCDIR)/common
CFLAGS += -DSPP_VF_MODULE
+
+# Optional Settings
#CFLAGS += -DSPP_DEMONIZE
#CFLAGS += -DSPP_RINGLATENCYSTATS_ENABLE
--
2.17.1
next prev parent reply other threads:[~2019-05-08 2:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-08 2:00 [spp] [PATCH 0/4] Move vf/common to under shared directory ogawa.yasufumi
2019-05-08 2:00 ` [spp] [PATCH 1/4] spp_vf: move common of vf siblings to shared dir ogawa.yasufumi
2019-05-08 2:00 ` ogawa.yasufumi [this message]
2019-05-08 2:00 ` [spp] [PATCH 3/4] spp_vf: update include paths ogawa.yasufumi
2019-05-08 2:00 ` [spp] [PATCH 4/4] spp_vf: remove dependency from common functions ogawa.yasufumi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1557280806-7672-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).