linux/tools/build
Josh Poimboeuf 1925459b4d tools build: Fix feature Makefile issues with 'O='
When building perf binaries outside the source tree with 'make O=<dir>',
the auto-detected features get re-tested for every build, which is
unnecessary and inconsistent with the behavior seen when building
directly in the source tree.

Another issue is that 'make O=<dir> clean' doesn't remove the feature
files from the object tree.

Fix these problems by looking for the binaries in the $(OUTPUT)
directory.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/113bd01530e9761778c60a75a96c65fc59860f68.1450193761.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-12-16 15:31:33 -03:00
..
Documentation tools build: Build fixdep helper from perf and basic libs 2015-09-28 15:50:55 -03:00
feature tools build: Fix feature Makefile issues with 'O=' 2015-12-16 15:31:33 -03:00
tests tools build: Build fixdep helper from perf and basic libs 2015-09-28 15:50:55 -03:00
.gitignore perf build: Add fixdep to .gitignore 2015-10-20 10:43:28 -03:00
Build tools build: Add fixdep dependency helper 2015-09-28 15:50:55 -03:00
Build.include tools build: Make the fixdep helper part of the build process 2015-09-28 15:50:55 -03:00
Makefile tools build: Use fixdep with OUTPUT path prefix 2015-11-26 16:32:24 -03:00
Makefile.build tools build: Make the fixdep helper part of the build process 2015-09-28 15:50:55 -03:00
Makefile.feature tools build: Fix feature Makefile issues with 'O=' 2015-12-16 15:31:33 -03:00
Makefile.include tools build: Use fixdep with OUTPUT path prefix 2015-11-26 16:32:24 -03:00
fixdep.c tools build: Add fixdep dependency helper 2015-09-28 15:50:55 -03:00