Add PACKAGES_STAGE0 to build-dirs too; fixes #7700
authorIan Lynagh <ian@well-typed.com>
Sun, 3 Mar 2013 13:35:41 +0000 (13:35 +0000)
committerIan Lynagh <ian@well-typed.com>
Sun, 3 Mar 2013 14:20:26 +0000 (14:20 +0000)
commit056997a285a368f5f78905b4b325a3258484f71d
tree8c0cd58381f7f7aac7d17061dd6157aaeb359daa
parent638ba3e8b74816934b29738b1dfaecb536dbcddd
Add PACKAGES_STAGE0 to build-dirs too; fixes #7700

This is sometimes needed when cross-compiling, as some packages may be
built in stage 0 but not stage 1.

In order to make everything work out, this also removes the requirement
that the build-dirs are in dependency order
ghc.mk
rules/haddock.mk