summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-06-15 13:55:32 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-06-15 13:55:32 +0000
commit3d328395b68f6a8264711677401ac8a049543e4a (patch)
tree1df465993cdad75957117bfca11f89faa124d2c4 /ghc.mk
parentfb97019335ae012a11bbfb229b08d18316dcd1df (diff)
downloadhaskell-3d328395b68f6a8264711677401ac8a049543e4a.tar.gz
add 'make stage1_libs', to make just the stage 1 libs
i.e. not dph, and hence not the stage 2 compiler.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index d6a5094433..34352943d2 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -564,6 +564,10 @@ $(foreach pkg,$(PACKAGES_STAGE2),$(eval libraries/$(pkg)_dist-install_HC_OPTS +=
# out the ones it thinks aren't supported.
libraries/base3-compat_dist-install_HC_OPTS += -XPackageImports
+# A useful pseudo-target
+.PHONY: stage1_libs
+stage1_libs : $(ALL_STAGE1_LIBS)
+
# -----------------------------------------------------------------------------
# Bootstrapping libraries