mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7167625: Adjustments for SE-Embedded build process
Simple change to the SE-Embedded build rules that should not affect any other OpenJDK users. Reviewed-by: kvn, dholmes
This commit is contained in:
parent
e897b69d19
commit
bfa3402f16
2 changed files with 7 additions and 3 deletions
|
@ -102,9 +102,11 @@ CXXFLAGS = \
|
||||||
# a time and date.
|
# a time and date.
|
||||||
vm_version.o: CXXFLAGS += ${JRE_VERSION}
|
vm_version.o: CXXFLAGS += ${JRE_VERSION}
|
||||||
|
|
||||||
ifndef JAVASE_EMBEDDED
|
ifndef JAVASE_EMBEDDED
|
||||||
|
ifneq (${ARCH},arm)
|
||||||
CFLAGS += -DINCLUDE_TRACE
|
CFLAGS += -DINCLUDE_TRACE
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
|
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
|
||||||
CFLAGS += $(CFLAGS_WARN/BYFILE)
|
CFLAGS += $(CFLAGS_WARN/BYFILE)
|
||||||
|
@ -153,11 +155,13 @@ SOURCE_PATHS+=$(HS_COMMON_SRC)/os/posix/vm
|
||||||
SOURCE_PATHS+=$(HS_COMMON_SRC)/cpu/$(Platform_arch)/vm
|
SOURCE_PATHS+=$(HS_COMMON_SRC)/cpu/$(Platform_arch)/vm
|
||||||
SOURCE_PATHS+=$(HS_COMMON_SRC)/os_cpu/$(Platform_os_arch)/vm
|
SOURCE_PATHS+=$(HS_COMMON_SRC)/os_cpu/$(Platform_os_arch)/vm
|
||||||
|
|
||||||
ifndef JAVASE_EMBEDDED
|
ifndef JAVASE_EMBEDDED
|
||||||
|
ifneq (${ARCH},arm)
|
||||||
SOURCE_PATHS+=$(shell if [ -d $(HS_ALT_SRC)/share/vm/jfr ]; then \
|
SOURCE_PATHS+=$(shell if [ -d $(HS_ALT_SRC)/share/vm/jfr ]; then \
|
||||||
find $(HS_ALT_SRC)/share/vm/jfr -type d; \
|
find $(HS_ALT_SRC)/share/vm/jfr -type d; \
|
||||||
fi)
|
fi)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
CORE_PATHS=$(foreach path,$(SOURCE_PATHS),$(call altsrc,$(path)) $(path))
|
CORE_PATHS=$(foreach path,$(SOURCE_PATHS),$(call altsrc,$(path)) $(path))
|
||||||
CORE_PATHS+=$(GENERATED)/jvmtifiles
|
CORE_PATHS+=$(GENERATED)/jvmtifiles
|
||||||
|
|
|
@ -3039,7 +3039,7 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef JAVASE_EMBEDDED
|
#if (defined JAVASE_EMBEDDED || defined ARM)
|
||||||
UNSUPPORTED_OPTION(UseG1GC, "G1 GC");
|
UNSUPPORTED_OPTION(UseG1GC, "G1 GC");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue