From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4806B379E for ; Mon, 28 Dec 2015 05:51:05 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 27 Dec 2015 20:51:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,489,1444719600"; d="scan'208";a="849313473" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by orsmga001.jf.intel.com with ESMTP; 27 Dec 2015 20:51:03 -0800 Date: Mon, 28 Dec 2015 12:53:19 +0800 From: Yuanhan Liu To: steeven lee Message-ID: <20151228045319.GC18863@yliu-dev.sh.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: fix examples build failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2015 04:51:05 -0000 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 > --- > 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