diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2009-11-09 13:51:59 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2009-11-09 13:51:59 +0000 |
| commit | 0eeb7f045b160c17056be59078f61525f47bce3d (patch) | |
| tree | 40fba0ebdf76f1329124bf34fa4a2725b87a5e18 /compiler | |
| parent | c4ea6c7d0063be9323268ebffe6b9d0d6625b2e3 (diff) | |
| download | haskell-0eeb7f045b160c17056be59078f61525f47bce3d.tar.gz | |
Don't try to rebuild compiler/primop-*.hs-incl when BootingFromHc
Patch submitted by Matthias Kilian <kili@outback.escape.de>
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/ghc.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 86f91a9d6a..f2a4fc5310 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 |
