From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 2387E5A9B for ; Wed, 20 Jan 2016 06:30:31 +0100 (CET) Received: from mvs-01.mhcomputing.net (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 2DAE3FC; Wed, 20 Jan 2016 00:30:30 -0500 (EST) From: Matthew Hall To: dev@dpdk.org Date: Tue, 19 Jan 2016 21:30:24 -0800 Message-Id: <1453267824-2880-1-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH] rte.extvars.mk: allow overriding RTE_SDK_BIN from the environment 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: Wed, 20 Jan 2016 05:30:31 -0000 Currently pktgen-dpdk and many other external apps will fail to compile if the build output directory name is not equal to the target name. This causes problems if you used an alternative build output directory. Signed-off-by: Matthew Hall --- mk/internal/rte.extvars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk index 040d39f..3d5ba1f 100644 --- a/mk/internal/rte.extvars.mk +++ b/mk/internal/rte.extvars.mk @@ -52,7 +52,7 @@ 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)/$(RTE_TARGET) ifeq ($(wildcard $(RTE_SDK_BIN)/.config),) $(error Cannot find .config in $(RTE_SDK)) endif -- 2.5.0