summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-18 20:06:37 +0000
committerIan Lynagh <igloo@earth.li>2007-09-18 20:06:37 +0000
commit3241a631b29dd076e7c28846463ec8c9a96d19b4 (patch)
tree2d6741284429318c46773e25dc070156323dba02 /mk
parentfb167775d703ba2a3cc1a0527982723845b6997e (diff)
downloadhaskell-3241a631b29dd076e7c28846463ec8c9a96d19b4.tar.gz
Include build.mk or validate{,-settings}.mk through custom-settings.mk
Diffstat (limited to 'mk')
-rw-r--r--mk/boilerplate.mk8
-rw-r--r--mk/custom-settings.mk7
2 files changed, 8 insertions, 7 deletions
diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk
index 14194fbd22..5f31a25800 100644
--- a/mk/boilerplate.mk
+++ b/mk/boilerplate.mk
@@ -70,14 +70,8 @@ ifeq "$(BootingFromHc)" "YES"
include $(TOP)/mk/bootstrap.mk
endif
-ifeq "$(Validating)" "YES"
-include $(TOP)/mk/validate-settings.mk
--include $(TOP)/mk/validate.mk
-else
--include $(TOP)/mk/build.mk
# (Optional) build-specific configuration
-#
-endif
+include $(TOP)/mk/custom-settings.mk
ifndef FAST
-include .depend
diff --git a/mk/custom-settings.mk b/mk/custom-settings.mk
new file mode 100644
index 0000000000..db8ebb4451
--- /dev/null
+++ b/mk/custom-settings.mk
@@ -0,0 +1,7 @@
+
+ifeq "$(Validating)" "YES"
+include $(TOP)/mk/validate-settings.mk
+-include $(TOP)/mk/validate.mk
+else
+-include $(TOP)/mk/build.mk
+endif