aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f4b46f8e34c..53930928059 100644
--- a/Makefile
+++ b/Makefile
@@ -96,9 +96,6 @@ 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
@@ -124,9 +121,6 @@ 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)