diff options
| author | Anton Blanchard <[email protected]> | 2016-10-13 02:20:43 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-17 14:25:34 +0000 |
| commit | 53613e005496234bb684e5db551fbcededa73999 (patch) | |
| tree | 03453bf5dae8e8b5e5386ed869b615e4f50f7bf1 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | perf jevents: Handle events including .c and .o (diff) | |
| download | kernel-53613e005496234bb684e5db551fbcededa73999.tar.gz kernel-53613e005496234bb684e5db551fbcededa73999.zip | |
perf jit: Fix build issue on Ubuntu
When building on Ubuntu 16.04, I get the following error:
Makefile:49: *** the openjdk development package appears to me missing, install and try again. Stop.
The problem is that update-java-alternatives has multiple spaces between
fields, and cut treats each space as a new delimiter:
java-1.8.0-openjdk-ppc64el 1081 /usr/lib/jvm/java-1.8.0-openjdk-ppc64el
Fix this by using awk, which handles this fine.
Signed-off-by: Anton Blanchard <[email protected]>
Reviewed-by: Stephane Eranian <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
