[dpdk-dev] [PATCH] mk: fix examples build failure

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon Dec 28 05:53:19 CET 2015


On Thu, Dec 24, 2015 at 08:38:07PM +0800, steeven lee wrote:
> 1. Fix examples build failure

Paste the build error here, so that we know you are acutally fixing a
build error. And if it's a build error specific to some GCC, or Linux
distribution, please also note it in the commit log.

> 2. make build as default output folder name

No, please do not do two things in one patch.

	--yliu
> 
> Signed-off-by: steeven <steeven at gmail.com>
> ---
>  mk/internal/rte.extvars.mk | 4 ++--
>  mk/rte.extsubdir.mk        | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk
> index 040d39f..cabef0a 100644
> --- a/mk/internal/rte.extvars.mk
> +++ b/mk/internal/rte.extvars.mk
> @@ -52,9 +52,9 @@ RTE_EXTMK ?= $(RTE_SRCDIR)/Makefile
>  export RTE_EXTMK
> 
>  # RTE_SDK_BIN must point to .config, include/ and lib/.
> -RTE_SDK_BIN := $(RTE_SDK)/$(RTE_TARGET)
> +RTE_SDK_BIN := $(RTE_SDK)/build
>  ifeq ($(wildcard $(RTE_SDK_BIN)/.config),)
> -$(error Cannot find .config in $(RTE_SDK))
> +$(error Cannot find .config in $(RTE_SDK_BIN))
>  endif
> 
>  #
> diff --git a/mk/rte.extsubdir.mk b/mk/rte.extsubdir.mk
> index f50f006..819020a 100644
> --- a/mk/rte.extsubdir.mk
> +++ b/mk/rte.extsubdir.mk
> @@ -46,7 +46,7 @@ $(DIRS-y):
>         @echo "== $@"
>         $(Q)$(MAKE) -C $(@) \
>                 M=$(CURDIR)/$(@)/Makefile \
> -               O=$(BASE_OUTPUT)/$(CUR_SUBDIR)/$(@)/$(RTE_TARGET) \
> +               O=$(BASE_OUTPUT)/$(CUR_SUBDIR)/build \
>                 BASE_OUTPUT=$(BASE_OUTPUT) \
>                 CUR_SUBDIR=$(CUR_SUBDIR)/$(@) \
>                 S=$(CURDIR)/$(@) \
> -- 
> 1.9.1


More information about the dev mailing list