summaryrefslogtreecommitdiff
path: root/ghc/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-08-04 12:06:49 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-08-05 09:21:49 +0100
commit043d70f080c214a4c80c0654a15e3016250ba1fa (patch)
tree4a07b32991e1b2f9ac2a65cba85c5c3942493ed2 /ghc/ghc.mk
parent78e6b615329dd8ea4527b499107048693c87f895 (diff)
downloadhaskell-043d70f080c214a4c80c0654a15e3016250ba1fa.tar.gz
sanitise naming of package lists
The *predicates* all start with "PKGS_THAT_...", e.g.: PKGS_THAT_BUILD_WITH_STAGE0 (previously "PACKAGES_STAGE0") PKGS_THAT_BUILD_WITH_STAGE2 (previously "STAGE2_PACKAGES") PKGS_THAT_USE_TH (previously "TH_PACKAGES) etc. (there are a few more) the lists of packages to build are now consistently named: PACKAGES_STAGE0 PACKAGES_STAGE1 (previously just "PACKAGES") PACKAGES_STAGE2
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r--ghc/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index d270a7ad9d..4c16e25c63 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -97,7 +97,7 @@ ifneq "$(BINDIST)" "YES"
ghc/stage1/build/tmp/$(ghc_stage1_PROG) : $(BOOT_LIBS)
ifeq "$(GhcProfiled)" "YES"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(compiler_stage2_p_LIB)
-ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_p_LIB))
+ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(foreach lib,$(PACKAGES_STAGE1),$(libraries/$(lib)_dist-install_p_LIB))
endif
# Modules here import HsVersions.h, so we need ghc_boot_platform.h