From f7478aee130646e7ddc0e857d3462a60b6a46947 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 18 Jul 2008 18:04:41 +0000 Subject: [PATCH] We need to make Parser.y and Config.hs earlier --- compiler/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) ... " -- 1.7.10.4