[dpdk-dev] pktgen-dpdk: Add support for make O=OUTPUT option
Checks
Commit Message
Add support for make O=OUTPUT compile time option.
Signed-off-by: Andriy Berestovskyy <aber@semihalf.com>
---
app/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Comments
Thanks
> On Oct 25, 2017, at 6:17 AM, Andriy Berestovskyy <aber@semihalf.com> wrote:
>
> Add support for make O=OUTPUT compile time option.
>
> Signed-off-by: Andriy Berestovskyy <aber@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
>
Regards,
Keith
@@ -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