Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335461

Re: [PATCH] perf/jvmti: add check for java alternatives cmd in Makefile

From Arnaldo Carvalho de Melo <acme@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf/jvmti: add check for java alternatives cmd in Makefile
Date 2016-02-16 15:40 +0100
Message-ID <r2OXf-C8-5@gated-at.bofh.it> (permalink)
References <r2HsK-408-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Tue, Feb 16, 2016 at 07:37:41AM +0100, Stephane Eranian escreveu:
> This patch modifies the jvmti makefile to check
> if /usr/sbin/java-update-alternatives is present.
> If so, then use it, if not then use the altenatives
> command. This helps handle the difference between
> Ubuntu and Fedora Linux distributions.

Thanks, tested and applied.

We need tho to better integrate it with the 'make install' target, so
that it gets built and installed, this way it will end up packaged by
distros.

That, together with documentation should be enough as a first step to
ease usage in a more widespread way.

What do you think?

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf/jvmti: add check for java alternatives cmd in Makefile Stephane Eranian <eranian@google.com> - 2016-02-16 07:40 +0100
  Re: [PATCH] perf/jvmti: add check for java alternatives cmd in  Makefile Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-02-16 15:40 +0100
    Re: [PATCH] perf/jvmti: add check for java alternatives cmd in  Makefile Namhyung Kim <namhyung@kernel.org> - 2016-02-16 15:40 +0100
      Re: [PATCH] perf/jvmti: add check for java alternatives cmd in  Makefile Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-02-16 17:00 +0100
  [tip:perf/core] perf jvmti:   Add check for java alternatives cmd in Makefile tip-bot for Stephane Eranian <tipbot@zytor.com> - 2016-02-17 13:10 +0100

csiph-web