8020799: Allow customization of hotspot source directories and files
authordholmes
Wed, 24 Jul 2013 19:23:26 -0400
changeset 18961 2d21ce77c2a6
parent 18927 85c14b79faf3
child 18962 9aa3ef01f68f
child 18990 470e148c859c
8020799: Allow customization of hotspot source directories and files Reviewed-by: kvn, dlong
hotspot/make/linux/makefiles/vm.make
--- a/hotspot/make/linux/makefiles/vm.make	Thu Jul 18 09:35:02 2013 -0700
+++ b/hotspot/make/linux/makefiles/vm.make	Wed Jul 24 19:23:26 2013 -0400
@@ -212,6 +212,12 @@
 Src_Files_EXCLUDE += \*x86_32\*
 endif
 
+# Alternate vm.make
+# This has to be included here to allow changes to the source
+# directories and excluded files before they are expanded
+# by the definition of Src_Files.
+-include $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/vm.make
+
 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
 define findsrc
 	$(notdir $(shell find $(1)/. ! -name . -prune \
@@ -381,4 +387,4 @@
 
 install: install_jvm install_jsig install_saproc
 
-.PHONY: default build install install_jvm $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/$(BUILDARCH).make
+.PHONY: default build install install_jvm $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/$(BUILDARCH).make $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/vm.make