We need to make Parser.y and Config.hs earlier
authorIan Lynagh <igloo@earth.li>
Fri, 18 Jul 2008 18:04:41 +0000 (18:04 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 18 Jul 2008 18:04:41 +0000 (18:04 +0000)
compiler/Makefile

index 4722a5b..371ebb4 100644 (file)
@@ -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) ... "