[spp] [PATCH 04/23] spp_vf: update Makefile for common files

x-fn-spp at sl.ntt-tx.co.jp x-fn-spp at sl.ntt-tx.co.jp
Wed Nov 21 02:35:39 CET 2018


From: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>

Update `SRCS-y` and `CFLAGS` options because the paths of common files
are changed.

Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki at lab.ntt.co.jp>
---
 src/vf/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/vf/Makefile b/src/vf/Makefile
index 88381be..a1c7886 100644
--- a/src/vf/Makefile
+++ b/src/vf/Makefile
@@ -13,12 +13,13 @@ APP = spp_vf
 
 # all source are stored in SRCS-y
 SRCS-y := spp_vf.c classifier_mac.c spp_forward.c
-SRCS-y += string_buffer.c ringlatencystats.c spp_port.c
-SRCS-y += command_conn.c command_dec.c command_proc.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 += ../shared/common.c
 
 CFLAGS += $(WERROR_FLAGS) -O3
 CFLAGS += -I$(SRCDIR)/../shared
+CFLAGS += -I$(SRCDIR)/common
 #CFLAGS += -DSPP_DEMONIZE
 #CFLAGS += -DSPP_RINGLATENCYSTATS_ENABLE
 
-- 
2.18.0



More information about the spp mailing list