add 'make stage1_libs', to make just the stage 1 libs
authorSimon Marlow <marlowsd@gmail.com>
Mon, 15 Jun 2009 13:55:32 +0000 (13:55 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 15 Jun 2009 13:55:32 +0000 (13:55 +0000)
i.e. not dph, and hence not the stage 2 compiler.

ghc.mk

diff --git a/ghc.mk b/ghc.mk
index d6a5094..3435294 100644 (file)
--- 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