From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752523AbcHLQPL (ORCPT ); Fri, 12 Aug 2016 12:15:11 -0400 Received: from mail.kernel.org ([198.145.29.136]:47346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147AbcHLQPK (ORCPT ); Fri, 12 Aug 2016 12:15:10 -0400 Date: Fri, 12 Aug 2016 13:15:00 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Wang Nan , Linux Kernel Mailing List Subject: feature detection versus feature selection Message-ID: <20160812161500.GL27651@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? - Arnaldo