X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.mk;h=f2a4fc5310ea3f124bba07487b12d7bf9fc507ba;hb=609e7ddfb10bc04762b820e70e0487ad6c514c2e;hp=86f91a9d6abe8408165bc4ec19cd985348183d2a;hpb=f031f894049111ff14d35b3e1c2dc6c97a31f1a8;p=ghc-hetmet.git 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