forked from ibmruntimes/openj9-openjdk-jdk11
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configure scripts for RISC-V (closed)
The changes are to modify the scripts intended for OpenJ9 to enable RISC-V from the configuration perspective. Issue: ibmruntimes#218 Signed-off-by: Cheng Jin <[email protected]>
- Loading branch information
Cheng Jin
committed
Oct 9, 2019
1 parent
642d340
commit 3fe8b1c
Showing
5 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# =========================================================================== | ||
# (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved | ||
# =========================================================================== | ||
# | ||
# This code is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 only, as | ||
# published by the Free Software Foundation. | ||
# | ||
# IBM designates this particular file as subject to the "Classpath" exception | ||
# as provided by IBM in the LICENSE file that accompanied this code. | ||
# | ||
# This code is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# version 2 for more details (a copy is included in the LICENSE file that | ||
# accompanied this code). | ||
# | ||
# You should have received a copy of the GNU General Public License version | ||
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# =========================================================================== | ||
|
||
################################################################################ | ||
# Enable the headless mode to avoid compiling X11 related headers | ||
# in generating the native awt library during the cross-compilation | ||
# as these headers are not offered in the cross-toolchain. | ||
|
||
ifeq ($(OPENJDK_TARGET_CPU)_$(COMPILE_TYPE), riscv64_cross) | ||
LIBAWT_CFLAGS += -DHEADLESS=true -DRISCV64_CROSS=true | ||
|
||
LIBAWT_HEADLESS_EXFILES += \ | ||
CUPSfuncs.c \ | ||
fontpath.c \ | ||
# | ||
|
||
LIBAWT_HEADLESS_EXCLUDES += \ | ||
$(TOPDIR)/src/java.desktop/unix/native/common/java2d \ | ||
# | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# =========================================================================== | ||
# (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved | ||
# =========================================================================== | ||
# | ||
# This code is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 only, as | ||
# published by the Free Software Foundation. | ||
# | ||
# IBM designates this particular file as subject to the "Classpath" exception | ||
# as provided by IBM in the LICENSE file that accompanied this code. | ||
# | ||
# This code is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# version 2 for more details (a copy is included in the LICENSE file that | ||
# accompanied this code). | ||
# | ||
# You should have received a copy of the GNU General Public License version | ||
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# =========================================================================== | ||
|
||
################################################################################ | ||
# Enable the headless mode to avoid compiling X11 related headers | ||
# in generating the native awt library during the cross-compilation | ||
# as these headers are not offered in the cross-toolchain. | ||
|
||
ifeq ($(OPENJDK_TARGET_CPU)_$(COMPILE_TYPE), riscv64_cross) | ||
TARGETS := $(filter-out $(BUILD_LIBFREETYPE) $(BUILD_LIBFONTMANAGER) $(BUILD_LIBJSOUND), $(TARGETS)) | ||
endif |