From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by dpdk.org (Postfix) with ESMTP id 3B5F75A69 for ; Thu, 24 Dec 2015 13:38:08 +0100 (CET) Received: by mail-ig0-f175.google.com with SMTP id jw2so96043585igc.1 for ; Thu, 24 Dec 2015 04:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6MwvkPaRiWTm58SBuUwP/kOqp0cXODXyz2570ESLBoY=; b=HPB3idf4woqSkTIvXUHnGITVAlmeApI+G6RzA69F54YR9n6wWsOmHvvLMjWIixLp+D tORJlNdjBhAMykeY1kAskNDpwU8U3/3Jgw0+TzvasfhamXmdQCwWhtgZbDqJgEMWzGrc OA8V8VQxfg8u0HmOJCNNSgNBFBJ63CNb6by77lOOoS8gNRONMjGC8NWT7m2b8yauKwGR 3PT54zMsJ3wkEAl5OSsYnjYzyUvmD0/9Q+AlSTjxy1bgtArp1bk6IupTdBll5IfMCt2r /H8FDTUYxANqc04MZwupjant/VGTMD0qGAELRHvo75HSgR7Hee4XEvyggh+vrhhf8pHn 2Kjw== MIME-Version: 1.0 X-Received: by 10.50.155.106 with SMTP id vv10mr760354igb.41.1450960687613; Thu, 24 Dec 2015 04:38:07 -0800 (PST) Received: by 10.107.27.71 with HTTP; Thu, 24 Dec 2015 04:38:07 -0800 (PST) Date: Thu, 24 Dec 2015 20:38:07 +0800 Message-ID: From: steeven lee To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [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: Thu, 24 Dec 2015 12:38:08 -0000 1. Fix examples build failure 2. make build as default output folder name 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