[dpdk-dev] [PATCH] pktgen-dpdk: Add support for make O=OUTPUT option

Andriy Berestovskyy aber at semihalf.com
Wed Oct 25 13:17:00 CEST 2017


Add support for make O=OUTPUT compile time option.

Signed-off-by: Andriy Berestovskyy <aber at semihalf.com>
---
 app/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/Makefile b/app/Makefile
index 9207d2b..88e8716 100644
--- a/app/Makefile
+++ b/app/Makefile
@@ -57,10 +57,10 @@ yy := $(shell $(ver_cmd) -yy)
 # $(info yy=$(yy))
 
 ifeq ($(yy),17)
-COMMON_PRE := $(RTE_SRCDIR)/../lib/common
-LUA_PRE := $(RTE_SRCDIR)/../lib/lua/src
-CLI_PRE := $(RTE_SRCDIR)/../lib/cli
-GUI_PRE := $(RTE_SRCDIR)/../gui/gui
+COMMON_PRE := $(RTE_OUTPUT)/../../lib/common
+LUA_PRE := $(RTE_OUTPUT)/../../lib/lua/src
+CLI_PRE := $(RTE_OUTPUT)/../../lib/cli
+GUI_PRE := $(RTE_OUTPUT)/../../gui/gui
 else
 ifeq ($(yy),16)
 COMMON_PRE := $(RTE_SRCDIR)/../lib/common/lib/common
-- 
2.7.4



More information about the dev mailing list