From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 1E928214A for ; Mon, 8 Feb 2016 16:08:05 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id p63so119754831wmp.1 for ; Mon, 08 Feb 2016 07:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=Ba+21yzDgBqwrgxLdaVRO6bvNolyI0JeHQEEBgHZfvo=; b=ETZHgttOyUPjbTK/R8QrA5nmgI9w5qS6p7eFzS8/UBdND4xpimhFA7p80KeXjVdr7p EahLpx4StCFuj5ZbHGti1/3eejwVyxkZPAl1ugO7Ebf19hFRTnc4ukKRs9/nlHiAOsc7 54CW7FtbC0L0V+vEf4nrzD5iydfyiJrW4CuIZYJ3g3smfnCIS63YrPbPa6HZY3Ry6WKb iJczGikrM6hw/sGfkW8msUeC/PYqtQhGVjvHGJ6/DZIIBoXegRG98oHsCkSiZTCmrQ5h 1ew8ZlGzRe8dsAS1COFNFAyDu+GMYeWm4W/ejGnNLGDqNrVsR2p2r0WKisKS7L1H8Xaq +vlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Ba+21yzDgBqwrgxLdaVRO6bvNolyI0JeHQEEBgHZfvo=; b=byk07xfFQ5V7U2KFuvCvtRQfAeD5NefPVweQ9HMnAhFANYVnoozqjnNrhn6A9HPxeY 04Ee38uHVKjGvh6l1eyiGJERGdQSF+p4JaKnQzXTvqw7MURSYan0SiVXFgacSg/PT/Mm 98eZaOlfy7x3u7XYU2M8Rs5eviznLDSwo1rAPrDGrYW7D9vv+tHzjfoi7FQq4/W2yOAj gf/ZbF50ileegA2Mdsv/J5kMfW69ci0k3dGgR6zaaBbHBFp5SLPNAWZcZjDtdpySRXZZ gXZH2wscnRWrZnUVplzm/g4Yuo0e+9VWqqWCylwTD0dD55BDLbJEJyZG1DTaorl1YH1z dsJA== X-Gm-Message-State: AG10YOSyi+aQcrX9DWSTz5sGL3dERFAYKREXeOKIVFJrJe1jRc1rDoCJZWAUP1+EfKepCCGm X-Received: by 10.28.111.91 with SMTP id k88mr29450063wmc.86.1454944084966; Mon, 08 Feb 2016 07:08:04 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id p9sm30242598wjy.41.2016.02.08.07.08.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 07:08:04 -0800 (PST) From: Thomas Monjalon To: steeven lee Date: Mon, 08 Feb 2016 16:06:38 +0100 Message-ID: <69285276.9idFayf1Xb@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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, 08 Feb 2016 15:08:05 -0000 Hi, 2015-12-24 20:38, steeven lee: > --- a/mk/internal/rte.extvars.mk > +++ b/mk/internal/rte.extvars.mk > # RTE_SDK_BIN must point to .config, include/ and lib/. > -RTE_SDK_BIN := $(RTE_SDK)/$(RTE_TARGET) > +RTE_SDK_BIN := $(RTE_SDK)/build RTE_TARGET is the right value here. To make it work with "build/" please use RTE_TARGET=build when building your example. > ifeq ($(wildcard $(RTE_SDK_BIN)/.config),) > -$(error Cannot find .config in $(RTE_SDK)) > +$(error Cannot find .config in $(RTE_SDK_BIN)) > endif Yes you're right, the error message looks wrong. Please, could you send a v2 patch for this fix? > --- 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)/$(@) \ I think this change is not needed. Probably your command is incorrect. Please paste them here. If the doc is incomplete, a patch would also be welcome. Thanks