Cleanup leftover custom stuff, include custom at the end. ihse-testmakefiles-branch
authorihse
Mon, 27 Nov 2017 14:24:23 +0100
branchihse-testmakefiles-branch
changeset 55886 ff90766e3c60
parent 55885 dfa2d3b57316
child 55887 61fc39af1705
Cleanup leftover custom stuff, include custom at the end.
make/RunTestsPrebuilt.gmk
make/RunTestsPrebuiltSpec.gmk
--- a/make/RunTestsPrebuilt.gmk	Mon Nov 27 14:17:16 2017 +0100
+++ b/make/RunTestsPrebuilt.gmk	Mon Nov 27 14:24:23 2017 +0100
@@ -117,8 +117,8 @@
     JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
     TEST_IMAGE_DIR := $(TEST_IMAGE_DIR), \
     JT_HOME := $(JT_HOME), \
+    include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
     $(CUSTOM_NEW_SPEC_LINE), \
-    include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
 )
 
 
--- a/make/RunTestsPrebuiltSpec.gmk	Mon Nov 27 14:17:16 2017 +0100
+++ b/make/RunTestsPrebuiltSpec.gmk	Mon Nov 27 14:24:23 2017 +0100
@@ -43,16 +43,11 @@
 $(eval $(call VerifyVariable,OUTPUTDIR))
 $(eval $(call VerifyVariable,BOOT_JDK))
 $(eval $(call VerifyVariable,JT_HOME))
-$(eval $(call VerifyVariable,TONGA_JAR))
 $(eval $(call VerifyVariable,JDK_IMAGE_DIR))
 $(eval $(call VerifyVariable,TEST_IMAGE_DIR))
 
 # FIXMEs
 
-#CUSTOM_ROOT := $(shell cd $(TOPDIR)/.. && pwd)
-#$(info CUSTOM_ROOT is $(CUSTOM_ROOT))
-#CLOSED_TOPDIR := $(CUSTOM_ROOT)/closed
-
 # verify that we have:
 # MAKE
 # BASH
@@ -105,9 +100,6 @@
 JOBS?=16
 TEST_JOBS?=0
 
-#### custom
-TONGA_JAR := @TONGA_JAR@
-
 ################################################################################
 
 
@@ -232,15 +224,3 @@
 #
 
 JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)
-
-# This macro is called to allow inclusion of closed source counterparts.
-# If running without closed sources, it expands to nothing.
-# Usage: This function is called in an open makefile, with the following
-# argument:
-# $1 the name of the makefile
-define IncludeCustomExtension
-  custom_include_file := $$(CLOSED_TOPDIR)/make/$(strip $1)
-  ifneq ($$(wildcard $$(custom_include_file)), )
-    include $$(custom_include_file)
-  endif
-endef