From 45a42b5d7f6940fbd93d6b3413c2d943e497a0b1 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 28 Apr 2016 12:29:33 +0200 Subject: HONEYCOMB-10: jVpp - the new java API. Java code generation The old japi has two main drawbacks: * it is not fully generated (requres manual coding for every new api call that returns data other thanstatus code) * it is not asynchronous from Java perspective (requires active wait loops - big overhead due to JNI boundary being crossed lots of times). The new api is lightweight (fully generated except for connect, disconenct and ping) and truly asynchronous (uses callbacks, utilities that offer java.util.concurrent.Future interface are also provided). Change-Id: I531080ef651e8a74f19210490c71d161221ab600 Signed-off-by: Marek Gradzki Signed-off-by: Maros Marsalek Signed-off-by: Ed Warnicke --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 53930928059..f4b46f8e34c 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,9 @@ ifeq ("$(shell lsb_release -si)", "Ubuntu") echo "by executing \"make install-dep\"\n" ; \ exit 1 ; \ fi ; \ + if [ "$(shell lsb_release -r | awk '{print $$2}')"=="14.04" ]; then \ + sudo update-alternatives --set javah /usr/lib/jvm/java-8-openjdk-amd64/bin/javah ; \ + fi ; \ exit 0 endif @echo "SOURCE_PATH = $(WS_ROOT)" > $(BR)/build-config.mk @@ -121,6 +124,9 @@ install-dep: ifeq ("$(shell lsb_release -si)", "Ubuntu") $(use_ppa_for_jdk8) @sudo apt-get -y install $(DEB_DEPENDS) + if [ "$(shell lsb_release -r | awk '{print $$2}')"=="14.04" ]; then \ + update-alternatives --set javah /usr/lib/jvm/java-8-openjdk-amd64/bin/javah ; \ + fi ; \ else ifneq ("$(wildcard /etc/redhat-release)","") @sudo yum groupinstall -y $(RPM_DEPENDS_GROUPS) @sudo yum install -y $(RPM_DEPENDS) -- cgit 1.2.3-korg