On 28/04/2009 12:07, Roman Leshchinskiy wrote:
Ian,

if I do this:

mkdir libraries/foo
touch libraries/foo/ghc.mk
<add foo to PACKAGES>
make just-makefiles

the system goes into an infinite loop. This also happens if foo/ghc.mk
is not empty but doesn't contain the thing the build system wants it to.
In fact, it seems to like to configure hsc2hs and haddock a lot.

I imagine the build system is expecting to be able to create libraries/foo/dist/package-data.mk since foo is in PACKAGES, but you haven't provided a suitable $(eval $(call build-package,...)) that tells it how to do that.

Not exactly sure why it would go into a loop though.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to