2019-02-05 15:31:24 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# host-openjdk-bin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-03-24 19:34:55 +01:00
|
|
|
HOST_OPENJDK_BIN_VERSION_MAJOR = 14
|
|
|
|
HOST_OPENJDK_BIN_VERSION_MINOR = 36
|
2019-02-05 15:31:24 +01:00
|
|
|
HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR)_$(HOST_OPENJDK_BIN_VERSION_MINOR)
|
2020-03-24 19:34:55 +01:00
|
|
|
HOST_OPENJDK_BIN_SOURCE = OpenJDK14U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz
|
|
|
|
HOST_OPENJDK_BIN_SITE = https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-$(HOST_OPENJDK_BIN_VERSION_MAJOR)%2B$(HOST_OPENJDK_BIN_VERSION_MINOR)
|
2019-02-05 15:31:24 +01:00
|
|
|
HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception
|
|
|
|
HOST_OPENJDK_BIN_LICENSE_FILES = legal/java.prefs/LICENSE legal/java.prefs/ASSEMBLY_EXCEPTION
|
|
|
|
|
|
|
|
# unpack200 has an invalid RPATH and relies on libzlib. When
|
|
|
|
# host-libzlib is installed on the system, the error "ERROR: package
|
|
|
|
# host-libzlib installs executables without proper RPATH: will occur.
|
|
|
|
# Because unpack200 is a deprecated tool, removing it to fix this
|
|
|
|
# issue is safe.
|
|
|
|
define HOST_OPENJDK_BIN_INSTALL_CMDS
|
2020-03-08 18:37:37 +01:00
|
|
|
mkdir -p $(HOST_DIR)/bin
|
2019-02-05 15:31:24 +01:00
|
|
|
cp -dpfr $(@D)/bin/* $(HOST_DIR)/bin/
|
2020-03-08 18:37:37 +01:00
|
|
|
mkdir -p $(HOST_DIR)/lib
|
2019-02-05 15:31:24 +01:00
|
|
|
cp -dpfr $(@D)/lib/* $(HOST_DIR)/lib/
|
|
|
|
$(RM) -f $(HOST_DIR)/bin/unpack200
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|