From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760Ab3LJNgQ (ORCPT ); Tue, 10 Dec 2013 08:36:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48362 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735Ab3LJNgO (ORCPT ); Tue, 10 Dec 2013 08:36:14 -0500 Date: Tue, 10 Dec 2013 14:36:03 +0100 From: Jiri Olsa To: Jean Pihet Cc: linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, Ingo Molnar , Arnaldo , patches@linaro.org, Will Deacon Subject: Re: [PATCH v4 0/2] perf: config: add per-feature check flags Message-ID: <20131210133603.GD8108@krava.brq.redhat.com> References: <1386678244-13535-1-git-send-email-jean.pihet@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386678244-13535-1-git-send-email-jean.pihet@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2013 at 01:24:02PM +0100, Jean Pihet wrote: > Add CFLAGS and LDFLAGS for each feature to be checked during the > build. This allows to pass particular flags and parameters to the > feature checks compilation. > > Use the per-feature check flags for the unwinding feature in order > to correctly compile the test-all, libunwind and libunwind-debug-frame > feature checks. > > This change set simplifies the flags passing mechanism between the > Makefiles in config/Makefile and config/feature-checks; this > could be farther optimized by moving the compilation flags to the > per-feature check flags for all features to be checked. > > Tested on x86_64, ARMv7 and ARMv8 with and without LIBUNWIND_DIR > set in 'make -C tools/perf' > Acked-by: Jiri Olsa thanks, jirka