RE: Unregistered build (was Re: AMD64)

On 17 June 2004 13:09, Bennett Todd wrote:
2004-06-17T09:04:40 Simon Marlow:
Hmmm. Try these please:
make show VALUE=ProjectsToBuild make show VALUE=ProjectsThatExist make show VALUE=SUBDIRS
bash-2.05b$ make show VALUE=ProjectsToBuild ProjectsToBuild="" bash-2.05b$ make show VALUE=ProjectsThatExist ProjectsThatExist="" bash-2.05b$ make show VALUE=SUBDIRS SUBDIRS="" bash-2.05b$
Nothing in it, nothing in it, but the binding 'round it.
Ok, $(ProjectsThatExist) is supposed to be set to all the projects in your source tree that can be built, which on a normal GHC build should be something like this: ProjectsThatExist="glafp-utils ghc libraries hslibs" This value is set right near the top of the top-level Makefile. Could you investigate and find out why it is empty in your tree? Cheers, Simon

2004-06-18T08:57:27 Simon Marlow:
Ok, $(ProjectsThatExist) is supposed to be set to all the projects in your source tree that can be built, which on a normal GHC build should be something like this:
ProjectsThatExist="glafp-utils ghc libraries hslibs"
This value is set right near the top of the top-level Makefile. Could you investigate and find out why it is empty in your tree?
Thanks, this seems to be the key. The Makefile has ProjectsThatExist = $(filter $(patsubst %/, %, $(wildcard */)), $(AllProjects)) which I can sorta see, but it doesn't seem to be working. $ make show VALUE=ProjectsThatExist ProjectsThatExist="" $ make show VALUE=AllProjects AllProjects="glafp-utils happy alex haddock ghc libraries hslibs greencard hdirect hood nofib" $ ls -F|grep / distrib/ docs/ ghc/ glafp-utils/ hslibs/ libraries/ mk/ $ Seems something in the implementation of this ProjectsThatExist logic isn't compatible with my (uClibc+Busybox) platform. I'll try hardwiring ProjectsThatExist and see if that gets me further. -Bennett
participants (2)
-
Bennett Todd
-
Simon Marlow