summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-23 18:36:51 +0100
committerIan Lynagh <igloo@earth.li>2011-06-23 18:36:51 +0100
commit0ae70f981bf07cd116ee17199d3a9bd4c1aade62 (patch)
tree15b8a3e4d7c5a5c5fe45ceb170c27627e5e01cc6 /boot
parentab7c49bde59b4f80ae153e41132850403ed11965 (diff)
downloadhaskell-0ae70f981bf07cd116ee17199d3a9bd4c1aade62.tar.gz
Follow Cabal reorganisation, and improve build system a little
Diffstat (limited to 'boot')
-rwxr-xr-xboot1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot b/boot
index 08d4846524..591e067a90 100755
--- a/boot
+++ b/boot
@@ -174,6 +174,7 @@ sub boot_pkgs {
or die "Opening $package/ghc.mk failed: $!";
print GHCMK "${package}_PACKAGE = ${pkg}\n";
print GHCMK "${package}_dist-install_GROUP = libraries\n";
+ print GHCMK "\$(if \$(filter ${dir},\$(STAGE0_PACKAGES)),\$(eval \$(call build-package,${package},dist-boot,0)))\n";
print GHCMK "\$(eval \$(call build-package,${package},dist-install,\$(if \$(filter ${dir},\$(STAGE2_PACKAGES)),2,1)))\n";
close GHCMK
or die "Closing $package/ghc.mk failed: $!";