From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 2/3] spp_primary: change include path in Makefile
Date: Tue, 29 Jan 2019 21:20:27 +0900 [thread overview]
Message-ID: <1548764428-2758-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1548764428-2758-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
As a part of refactoring, change include path to include headers in
shared directory explicitly.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
src/primary/Makefile | 2 +-
src/primary/args.c | 2 +-
src/primary/args.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/primary/Makefile b/src/primary/Makefile
index 59c9ba7..f348146 100644
--- a/src/primary/Makefile
+++ b/src/primary/Makefile
@@ -25,7 +25,7 @@ INC := $(wildcard *.h)
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS) -O3 -MMD
-CFLAGS += -I$(SRCDIR)/../shared
+CFLAGS += -I$(SRCDIR)/../
ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
LDLIBS += -lrte_pmd_ring
diff --git a/src/primary/args.c b/src/primary/args.c
index d0a28e8..020e731 100644
--- a/src/primary/args.c
+++ b/src/primary/args.c
@@ -7,7 +7,7 @@
#include <rte_memory.h>
-#include "common.h"
+#include "shared/common.h"
#include "args.h"
#include "init.h"
#include "primary.h"
diff --git a/src/primary/args.h b/src/primary/args.h
index 8561bd3..29bca0d 100644
--- a/src/primary/args.h
+++ b/src/primary/args.h
@@ -7,7 +7,7 @@
#define _PRIMARY_ARGS_H_
#include <stdint.h>
-#include "common.h"
+#include "shared/common.h"
extern uint16_t num_rings;
extern char *server_ip;
--
2.7.4
next prev parent reply other threads:[~2019-01-29 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-29 12:20 [spp] [PATCH 0/3] Refactor spp_priamry ogawa.yasufumi
2019-01-29 12:20 ` [spp] [PATCH 1/3] spp_primary: refactor var names for ring ports ogawa.yasufumi
2019-01-29 12:20 ` ogawa.yasufumi [this message]
2019-01-29 12:20 ` [spp] [PATCH 3/3] spp_primary: add lcore_id_used variable 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=1548764428-2758-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).