|
From: davidMbrooke <dmb...@nt...> - 2011-05-16 19:33:36
|
On Mon, 2011-05-16 at 10:40 +0200, Erich Titl wrote: > Hi Folks > > It appears that the environment variables from buildtool.cfg are not > passed to the makefile for the buildclean and srcclean operations. Could > someone with insight in these modules please comment? > > Thanks > > Erich Hi Erich, I have noticed the same behaviour. Some of the makefiles automatically derive the directory name from the source .tar.gz contents but that does not work for buildclean / srcclean so they have to save off the directory name to a file (called "DIRNAME") in order to use the name later, when the environment variables are not set. Would a similar approach work for you? Look at the first few lines of e.g. repo/nfs-utils/buildtool.mk as an example. Obviously it would be possible to change the buildtool source code to implement different behaviour but I think I looked at doing that and it was not trivial. Feel free to create a Trac ticket to log the request for an enhancement. dMb |