From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] mk: add sensible default target with defconfig Date: Sat, 05 Aug 2017 10:24:56 +0200 Message-ID: <1629535.s0UyKbnLHZ@xps> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: David Hunt 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) In-Reply-To: <1501843142-22208-1-git-send-email-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 :)