confused by libbb/Makefile
Robert P. J. Day
rpjday at mindspring.com
Fri May 12 21:38:03 UTC 2006
On Fri, 12 May 2006, Peter S. Mazinger wrote:
> On Fri, 12 May 2006, Robert P. J. Day wrote:
>
> >
> > i'm a bit baffled by libbb/Makefile:
> >
> > ==============================
> > ...
> > ifndef top_srcdir
> > top_srcdir=..
> > endif
> > ifndef top_builddir
> > top_builddir=..
> > endif
> > srcdir=$(top_srcdir)/libbb
> > LIBBB_DIR:=./
> > include $(top_builddir)/Rules.mak <-- ???
>
> this is probably srcdir (as it does not change)
>
> > include $(top_builddir)/.config <-- ???
>
> this is ok, because it is generated and you want to write to build
> directory, not the source
>
> Peter
ah, yes, you're right about the second one, i'm not sure what i was
thinking there. but the first one should definitely be srcdir.
rday
More information about the busybox
mailing list