aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sysfs.c
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2013-01-08 16:22:36 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 16:40:17 -0300
commit31160d7feab786c991780d7f0ce2755a469e0e5e (patch)
tree36c867108c42e46572ef5a1aac6a846606cfba2d /tools/perf/util/sysfs.c
parent2d2481ddf634695aa17ad91bd765572329941674 (diff)
downloadkernel_replicant_linux-31160d7feab786c991780d7f0ce2755a469e0e5e.tar.gz
kernel_replicant_linux-31160d7feab786c991780d7f0ce2755a469e0e5e.tar.bz2
kernel_replicant_linux-31160d7feab786c991780d7f0ce2755a469e0e5e.zip
perf tools: Fix GNU make v3.80 compatibility issue
According to Documentation/Changes, the kernel should be buildable with GNU make 3.80+. tools/perf/config/utilities.mak contains the "$(or" construct, which requires make 3.81. This causes "make" to fail on systems with GNU make 3.80. Replace "$(or" with an equivalent "$(if" expression, to restore backward compatibility. Also fix an issue where _get_attempt was called with only one argument. This prevented the error message from printing the name of the variable that can be used to fix the problem. Signed-off-by: Al Cooper <alcooperx@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1357680156-15520-1-git-send-email-alcooperx@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sysfs.c')
0 files changed, 0 insertions, 0 deletions