perf tools: Correct Makefile.include
authorBorislav Petkov <bp@suse.de>
Wed, 20 Feb 2013 15:32:29 +0000 (16:32 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Mar 2013 16:05:59 +0000 (13:05 -0300)
commit9e4a66482e9a96405eb9ee7f7bf28c9799ca8670
tree354fbbc643e3cd882277e12c4136b136a86e9904
parenta50e43332756a5ac8d00f3367a54d9effeb9c674
perf tools: Correct Makefile.include

It looks at O= and adjusts the $(OUTPUT) variable based on what the
output directory will be. However, when O is defined but empty, it
wrongly becomes the user's $HOME dir which is not what we want. So check
it is not empty before working with it further.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1361374353-30385-4-git-send-email-bp@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/scripts/Makefile.include