From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932205AbbLNKFL (ORCPT ); Mon, 14 Dec 2015 05:05:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51910 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932099AbbLNKFJ (ORCPT ); Mon, 14 Dec 2015 05:05:09 -0500 Date: Mon, 14 Dec 2015 11:05:07 +0100 From: Jiri Olsa To: Josh Poimboeuf Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Namhyung Kim Subject: Re: [PATCH v3 01/17] perf build: Remove unnecessary line in Makefile.feature Message-ID: <20151214100507.GC27640@krava.brq.redhat.com> References: <554a05c18af564ba015c9e68f25730126e0f4acb.1449965119.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <554a05c18af564ba015c9e68f25730126e0f4acb.1449965119.git.jpoimboe@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 13, 2015 at 10:18:01PM -0600, Josh Poimboeuf wrote: > This line always silently fails because it doesn't add the 'test-' > prefix to the .bin file. > > And it seems to be unnecessary anyway: the line immediately after it > does all the individual feature checks. > > Signed-off-by: Josh Poimboeuf > --- > tools/build/Makefile.feature | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature > index 37ff4c9..b8c31ec 100644 > --- a/tools/build/Makefile.feature > +++ b/tools/build/Makefile.feature > @@ -101,7 +101,6 @@ ifeq ($(feature-all), 1) > # > $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat))) > else > - $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CFLAGS="$(EXTRA_CFLAGS)" LDFLAGS=$(LDFLAGS) -i -j -C $(feature_dir) $(addsuffix .bin,$(FEATURE_TESTS)) >/dev/null 2>&1) > $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat))) ugh, nice ;-) Acked-by: Jiri Olsa thanks, jirka