linux/tools/build
Arnaldo Carvalho de Melo 13e96db61c tools build: Allow setting the feature detection user
We will use the tools/build/ autodetection in the eBPF patchkit
and it is currently sharing the output directory with perf, that
also uses the feature detection logic.

As we keep state in the output directory, so that we can avoid running
all the tests again, we need to have different filenames for the files
used in this state, allow doing that via the FEATURE_USER variable, to
be set alongside the existing FEATURE_{TEST,DISPLAY} variables.

v2: Fix comment describing the FEATURE_DUMP filename to make sure where
    it is created, precisely at $(OUTPUT)FEATURE-DUMP$(FEATURE_USER).
    Pointed out by Jiri.

Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/n/tip-fdbev0vrn3x6idqc3ajbnvcb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-09-22 10:47:04 -03:00
..
Documentation tools build: Allow duplicate objects in the object list 2015-08-26 10:34:58 -03:00
feature tools build: Add test for presence of __get_cpuid() gcc builtin 2015-09-17 13:14:35 -03:00
tests tools build: Allow duplicate objects in the object list 2015-08-26 10:34:58 -03:00
Build.include tools build: Add new build support 2015-02-11 18:30:03 -03:00
Makefile.build tools build: Allow duplicate objects in the object list 2015-08-26 10:34:58 -03:00
Makefile.feature tools build: Allow setting the feature detection user 2015-09-22 10:47:04 -03:00