From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751073Ab1GSOHo (ORCPT ); Tue, 19 Jul 2011 10:07:44 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46881 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829Ab1GSOHn (ORCPT ); Tue, 19 Jul 2011 10:07:43 -0400 Message-ID: <4E258FAE.6040807@suse.cz> Date: Tue, 19 Jul 2011 16:07:42 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Arnaud Lacombe Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt Subject: Re: [RFC 1/4] kbuild: export MAKECMDGOALS References: <1309563076-5050-1-git-send-email-lacombar@gmail.com> <1309563076-5050-2-git-send-email-lacombar@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18.7.2011 21:05, Arnaud Lacombe wrote: > Hi, > > On Fri, Jul 1, 2011 at 7:31 PM, Arnaud Lacombe wrote: >> Cc: Steven Rostedt >> --- >> Makefile | 3 +++ >> 1 files changed, 3 insertions(+), 0 deletions(-) >> >> diff --git a/Makefile b/Makefile >> index afb8e0d..ea517fd 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -22,6 +22,9 @@ LC_COLLATE=C >> LC_NUMERIC=C >> export LC_COLLATE LC_NUMERIC >> >> +# Export make goals >> +export MAKECMDGOALS >> + >> # We are using a recursive build, so we need to do a little thinking >> # to get the ordering right. >> # > Michal, before I send a new version of this serie, can you tell me > your point of view on the export of MAKECMDGOALS (or > KBUILD_MAKECMDGOALS) and Kconfig to the environment ? A cleaner interface would IMO be to check the target in the makefile and pass a commandline option to streamline_config.pl, so that it's easier to run it manually. Michal