--- a/make/InitSupport.gmk Wed Oct 04 10:54:18 2017 -0700
+++ b/make/InitSupport.gmk Thu Oct 05 11:02:18 2017 +0200
@@ -35,8 +35,9 @@
ifeq ($(HAS_SPEC),)
# Include the corresponding closed file, if present.
- # Normal hook mechanism cannot be used since we have no SPEC.
- -include $(topdir)/../closed/make/InitSupport.gmk
+ ifneq ($(CUSTOM_MAKE_DIR), )
+ -include $(CUSTOM_MAKE_DIR)/InitSupport.gmk
+ endif
##############################################################################
# Helper functions for the initial part of Init.gmk, before the spec file is