Skip to content

Commit

Permalink
Add build args for all vendor configure arguments (#3344)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard authored May 17, 2023
1 parent 3c6f770 commit 9f64525
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions makejdk-any-platform.1
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,18 @@ If true (default), a custom cacerts file will be generated based on Mozilla's
list of CA certificates (see folder security/). If false, the file shipped by
OpenJDK will be used.
.TP
.BR \-\-vendor " " \fI<vendor>\fR
specify the vendor name
.TP
.BR \-\-vendor-url " " \fI<vendor url>\fR
specify the vendor url
.TP
.BR \-\-vendor-bug-url " " \fI<vendor bug url>\fR
specify the vendor bug url
.TP
.BR \-\-vendor-vm-bug-url " " \fI<vendor vm bug url>\fR
specify the vendor vm bug url
.TP
.BR \-v ", " \-\-version " " \fI<version>\fR
specify the OpenJDK version to build e.g. jdk8u. Left for backwards compatibility.
.TP
Expand Down
9 changes: 9 additions & 0 deletions sbin/common/config_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,15 @@ function parseConfigurationArguments() {
"--vendor" | "-ve" )
BUILD_CONFIG[VENDOR]="$1"; shift;;

"--vendor-url")
BUILD_CONFIG[VENDOR_URL]="$1"; shift;;

"--vendor-bug-url")
BUILD_CONFIG[VENDOR_BUG_URL]="$1"; shift;;

"--vendor-vm-bug-url")
BUILD_CONFIG[VENDOR_VM_BUG_URL]="$1"; shift;;

"--version" | "-v" )
setOpenJdkVersion "$1"
setDockerVolumeSuffix "$1"; shift;;
Expand Down

0 comments on commit 9f64525

Please sign in to comment.