Do the dependency-omitting for 'make 1' in a slightly different way
authorSimon Marlow <marlowsd@gmail.com>
Tue, 10 Aug 2010 09:34:46 +0000 (09:34 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 10 Aug 2010 09:34:46 +0000 (09:34 +0000)
commit7a50ff1e44710335e935ff199cd95616840b9f02
tree0bf7d1f5b62d976143dfb83545b89338930f5e6e
parent401140734891ca804c336122581743251d61b3a6
Do the dependency-omitting for 'make 1' in a slightly different way

I encountered a couple of things that broke after Ian's previous
patch: one was my nightly build scripts that use 'make stage=2' at the
top level, and the other is 'make fast' in libraries/base, which uses
'stage=0' to avoid building any compilers.

So my version of this patch is more direct: it just turns off the
appropriate dependencies using a variable set by 'make 1', 'make 2',
etc.
compiler/Makefile
ghc/Makefile
rules/build-dependencies.mk