summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-18 18:04:41 +0000
committerIan Lynagh <igloo@earth.li>2008-07-18 18:04:41 +0000
commitf7478aee130646e7ddc0e857d3462a60b6a46947 (patch)
tree786dad90dafd672d3e57d7342aa0359a43e828e3 /compiler/Makefile
parent4267e8dea62ca55a6dd623b09e81a9e70536bcca (diff)
downloadhaskell-f7478aee130646e7ddc0e857d3462a60b6a46947.tar.gz
We need to make Parser.y and Config.hs earlier
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 4722a5ba3c..371ebb4932 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -40,6 +40,10 @@ PRIMOP_BITS = primop-data-decl.hs-incl \
primop-strictness.hs-incl \
primop-primop-info.hs-incl
+boot :: $(CONFIG_HS)
+
+boot :: parser/Parser.y
+
boot:: boot.stage.$(stage)
all:: build.stage.$(stage)
@@ -186,10 +190,6 @@ boot :: stage_dirs
# The 'echo' commands simply spit the values of various make variables
# into Config.hs, whence they can be compiled and used by GHC itself
-boot :: $(CONFIG_HS)
-
-boot :: parser/Parser.y
-
$(CONFIG_HS) : $(FPTOOLS_TOP)/mk/config.mk
@$(RM) -f $(CONFIG_HS)
@echo "Creating $(CONFIG_HS) ... "