# the resulting mk/config.h file back into this tree before building
# the libraries.
- echo "GhcUnregisterised = YES" >> mk/config.mk
- echo "GhcLibHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/config.mk
- echo "GhcLibWays =" >> mk/config.mk
- echo "SplitObjs = NO" >> mk/config.mk
+ touch mk/build.mk
+ echo "GhcUnregisterised = YES" >> mk/build.mk
+ echo "GhcLibHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk
+ echo "GhcLibWays =" >> mk/build.mk
+ echo "SplitObjs = NO" >> mk/build.mk
# We could optimise slightly by not building hslibs here. Also, building
# the RTS is not necessary (and might not be desirable if we're using
cd b2
./configure --with-ghc=$base/b1/ghc/compiler/stage1/ghc-inplace
- echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/config.mk
- echo "GhcWithNativeCodeGen = NO" >> mk/config.mk
+ touch mk/build.mk
+ echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk
+ echo "GhcWithNativeCodeGen = NO" >> mk/build.mk
+ echo "GhcWithInterpreter = NO" >> mk/build.mk
# we just need to build the compiler...
(cd glafp-utils && make boot && make)