From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 85E4037AF for ; Sat, 5 Aug 2017 10:24:58 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2E72720727; Sat, 5 Aug 2017 04:24:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 05 Aug 2017 04:24:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=OAtw6O5lgwB3IKB 9vNyVoSYn2kYSTU/aoAII+RVlEW4=; b=qTZyKUeOmlXrWMycZ0XehoMBm5xu2N/ M4QO5p+B9V6pppxy4s1vGeM+TwkCdtITRJ1HsG2WXWolbzuyLT5u3vtckhW6PGCu jgZcTE5Uho8PkR3Vu7Wx4eRDIWPS0nC9VqRq6k/d/ueQjdxsBWcF2ko1kp8YSfiz zUoPGIzbcf74= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=OAtw6O5lgwB3IKB9vNyVoSYn2kYSTU/aoAII+RVlEW4=; b=glshzYaI Y8Vd/IixM0hpM230dbf3RmGqmS/8+9wImBo5qPecOBBKzK/RdDhGvanAIySEr6DL Ppf39o2c8ICGnYd/Lk1V8IU3ISLPTt0yXumKVl/+JJJ0eCaVxwHaAgDjNat+OAOC tyPPJEfck4MmRbySLh9FOm6KE3rXwubsE0Qm8K6Y3gOyQGXV34cPR/fKET7gcsxU F8boVygTBYxHF0vLHkr+RQeRITI4fdcPreresPzZ/+kNCx0khoUtni1XUI5juhUM 8krwvysqvMqYkA95tHIG+hTiWvt4cipwo4V55bwAzhXMeyv0eHCZ1jEwwVGmbKEL pP1qi0NwFNyRYA== X-ME-Sender: X-Sasl-enc: Svn1EsSl7KvEXeuAStrC1iIzoQl3l06atPoxziQY1T9e 1501921497 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AC2C97E4EA; Sat, 5 Aug 2017 04:24:57 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org Date: Sat, 05 Aug 2017 10:24:56 +0200 Message-ID: <1629535.s0UyKbnLHZ@xps> In-Reply-To: <1501843142-22208-1-git-send-email-david.hunt@intel.com> References: <1501842539-1152-1-git-send-email-david.hunt@intel.com> <1501843142-22208-1-git-send-email-david.hunt@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] mk: add sensible default target with defconfig 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: Sat, 05 Aug 2017 08:24:58 -0000 04/08/2017 12:39, David Hunt: > Users can now use 'make defconfig' to generate a configuration using > the most appropriate defaults for the current machine. > > > arch taken from uname -m > machine defaults to native > execenv is taken from uname, Linux=linuxapp, otherwise bsdapp > toolchain is taken from $CC -v to see which compiler to use > > Signed-off-by: David Hunt > Acked-by: Shreyansh Jain > Tested-by: Jerin Jacob > --- [...] > --- a/doc/build-sdk-quick.txt > +++ b/doc/build-sdk-quick.txt > @@ -1,7 +1,10 @@ > Basic build > + make defconfig && make > + or > make config T=x86_64-native-linuxapp-gcc && make Nice :) > + @echo "Configuration done using "$(shell basename \ > + $(RTE_CONFIG_TEMPLATE) | sed "s/defconfig_//g") Excuse me for being pedantic with Makefile, I will avoid shell invocation: + @echo "Configuration done using" \ + $(patsubst defconfig_%,%,$(notdir $(RTE_CONFIG_TEMPLATE))) Applied with my pedantic change, thanks :)