From: Ian Lynagh Date: Fri, 18 Jul 2008 18:04:41 +0000 (+0000) Subject: We need to make Parser.y and Config.hs earlier X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=f7478aee130646e7ddc0e857d3462a60b6a46947 We need to make Parser.y and Config.hs earlier --- diff --git a/compiler/Makefile b/compiler/Makefile index 4722a5b..371ebb4 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) ... "