From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964911AbcHNLLp (ORCPT ); Sun, 14 Aug 2016 07:11:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41974 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753439AbcHNLLm (ORCPT ); Sun, 14 Aug 2016 07:11:42 -0400 Date: Sun, 14 Aug 2016 13:04:03 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Wang Nan , Linux Kernel Mailing List Subject: Re: feature detection versus feature selection Message-ID: <20160814110403.GC19532@krava> References: <20160812161500.GL27651@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160812161500.GL27651@kernel.org> User-Agent: Mutt/1.6.2 (2016-07-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sun, 14 Aug 2016 11:04:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 12, 2016 at 01:15:00PM -0300, Arnaldo Carvalho de Melo wrote: > Hey guys, > > Now we have this output when building tools with the feature > detection mechanisms in tools/build/: > > Auto-detecting system features: > ... dwarf: [ on ] > ... dwarf_getlocations: [ OFF ] > ... glibc: [ on ] > ... gtk2: [ on ] > ... libaudit: [ on ] > ... libbfd: [ on ] > ... libelf: [ on ] > ... libnuma: [ on ] > ... numa_num_possible_cpus: [ OFF ] > ... libperl: [ on ] > ... libpython: [ on ] > ... libslang: [ on ] > ... libcrypto: [ on ] > ... libunwind: [ on ] > ... libdw-dwarf-unwind: [ OFF ] > ... zlib: [ on ] > ... lzma: [ on ] > ... get_cpuid: [ on ] > ... bpf: [ on ] > > > What I miss is a way to have another column that would state if > the user had used, say, NO_LIBELF to disable libelf... > > Jiri, is there already some file where we have the list of > manually disabled features? Or do you have something like that in mind? > .config files? my mind is empty ;-) we could add map for that, or we could just add: ... libbfd: [ on ] ... libelf: [ OFF NO_LIBELF ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ OFF ] jirka