From 0eeb7f045b160c17056be59078f61525f47bce3d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 9 Nov 2009 13:51:59 +0000 Subject: [PATCH] Don't try to rebuild compiler/primop-*.hs-incl when BootingFromHc Patch submitted by Matthias Kilian --- compiler/ghc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 86f91a9..f2a4fc5 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -257,6 +257,7 @@ $(PRIMOPS_TXT) compiler/parser/Parser.y: %: %.pp compiler/stage1/$(PLATFORM_H) $(eval $(call clean-target,compiler,primop, $(PRIMOPS_TXT) compiler/parser/Parser.y $(PRIMOP_BITS))) +ifneq "$(BootingFromHc)" "YES" compiler/primop-data-decl.hs-incl: $(PRIMOPS_TXT) $(GENPRIMOP_INPLACE) "$(GENPRIMOP_INPLACE)" --data-decl < $< > $@ compiler/primop-tag.hs-incl: $(PRIMOPS_TXT) $(GENPRIMOP_INPLACE) @@ -282,6 +283,7 @@ compiler/primop-primop-info.hs-incl: $(PRIMOPS_TXT) $(GENPRIMOP_INPLACE) # can still generate them if we want them back compiler/primop-usage.hs-incl: $(PRIMOPS_TXT) "$(GENPRIMOP_INPLACE)" --usage < $< > $@ +endif # ----------------------------------------------------------------------------- # Configuration -- 1.7.10.4