[uClibc][patch] GNU Make $PWD vs. pwd (mipsel)
David Schleef
ds at schleef.org
Mon Apr 22 20:20:29 UTC 2002
On Mon, Apr 22, 2002 at 12:09:03PM -0700, Geoffrey Espin wrote:
>
> I see there is a CVS repository for minimal generic buildroot...
> but I guess all the real action is at under tuxscreen. Anyways,
> when using tuxscreen's build-root for mipsel, I get:
>
> The problem stems from GNU Make not having $PWD in sync with the
> real `pwd`, so that "$(MAKE) -C $(UCLIBC_DIR)" in make/linux.mk
> doesn't set $PWD properly. This fix, to the top-level
> uClibc/Makefile, works around this. It is only a "mipsel" problem,
> as mipsel is the only arch with a directory fixup using $PWD.
Sort of. Pre-2.0 bash doesn't set $PWD, and it is not a required
feature of POSIX shells, so others don't set it either.
(However, I'd be interested if there are additional $PWD problems.
I tend to avoid its use.)
dave...
More information about the uClibc
mailing list