From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 9EC349B63 for ; Fri, 26 May 2017 10:55:31 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP; 26 May 2017 01:55:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,396,1491289200"; d="scan'208";a="106876510" Received: from silpixa00397898.ir.intel.com ([10.237.223.116]) by fmsmga005.fm.intel.com with ESMTP; 26 May 2017 01:55:29 -0700 From: David Hunt To: dev@dpdk.org Cc: thomas@monjalon.net, David Hunt Date: Fri, 26 May 2017 09:52:43 +0100 Message-Id: <1495788764-37652-2-git-send-email-david.hunt@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495788764-37652-1-git-send-email-david.hunt@intel.com> References: <1495535304-159542-3-git-send-email-david.hunt@intel.com> <1495788764-37652-1-git-send-email-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v2 1/2] mk: allow use of environment var for make config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 08:55:32 -0000 Users can now set RTE_TARGET in their environment and use 'make config' without T=template. If RTE_TARGET is set in the user's environment, and if T= is not used, 'make config' will use $RTE_TARGET. Signed-off-by: David Hunt --- mk/rte.sdkroot.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index 2843b7d..9bdaf20 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -63,6 +63,8 @@ ifdef T ifeq ("$(origin T)", "command line") RTE_CONFIG_TEMPLATE := $(RTE_SRCDIR)/config/defconfig_$(T) endif +else ifdef RTE_TARGET +RTE_CONFIG_TEMPLATE := $(RTE_SRCDIR)/config/defconfig_$(RTE_TARGET) endif export RTE_CONFIG_TEMPLATE -- 2.7.4