Skip to content

Commit

Permalink
revert hotspot-server build target
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Feb 20, 2023
1 parent 1bfccb4 commit 7b823d1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions cross/java-17-openjdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ BUILD_DEPENDS += cross/libX11
BUILD_DEPENDS += cross/libXrender

# Dependencies used as system dependencies:
DEPENDS = cross/fontconfig
DEPENDS = cross/alsa-lib
DEPENDS += cross/fontconfig
DEPENDS += cross/libffi
DEPENDS += cross/zlib
DEPENDS += cross/libpng
Expand Down Expand Up @@ -74,7 +75,11 @@ CONFIGURE_ARGS += --with-cacerts-file=/etc/ssl/certs/ca-certificates.crt
CONFIGURE_ARGS += --with-cacerts-src=/etc/ssl/certs
# Disable all GUI related
CONFIGURE_ARGS += --enable-headless-only
CONFIGURE_ARGS += --with-jvm-variants=server
# customize for SynoCommunity
CONFIGURE_ARGS += --with-vendor-name=SynoCommunity
CONFIGURE_ARGS += --with-vendor-url=https://synocommunity.com/package/java-17-openjdk
CONFIGURE_ARGS += --with-vendor-bug-url=https://github.com/SynoCommunity/spksrc/issues
CONFIGURE_ARGS += --with-vendor-vm-bug-url=https://github.com/SynoCommunity/spksrc/issues

# arguments not taken from environment
CONFIGURE_ARGS += READELF=$(READELF)
Expand All @@ -84,16 +89,17 @@ CONFIGURE_ARGS += NM=$(NM)
CONFIGURE_ARGS += OBJCOPY=$(OBJCOPY)
CONFIGURE_ARGS += OBJDUMP=$(OBJDUMP)

# Just build the hotspot version
COMPILE_MAKE_OPTIONS += hotspot-server
# Build images twice, second time with newly built JDK
COMPILE_MAKE_OPTIONS += product-images

PATCHES_LEVEL = 1

ADDITIONAL_CFLAGS = -O2

# Filter out any -jN since java's configure will autodetect number of CPU's
# Use make JOBS=N to set number of CPU's in this package
DISABLE_PARALLEL_MAKE = 1
COMPILE_MAKE_OPTIONS += JOBS=$(NCPUS)
PATCHES_LEVEL = 1

include ../../mk/spksrc.cross-cc.mk

Expand Down

0 comments on commit 7b823d1

Please sign in to comment.