confused by libbb/Makefile
Robert P. J. Day
rpjday at mindspring.com
Fri May 12 14:25:19 UTC 2006
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 <-- ???
include $(top_builddir)/.config <-- ???
include Makefile.in
all: $(libraries-y)
-include $(top_builddir)/.depend
...
==============================
if you're truly trying to support being able to build libbb in a
separate directory from the source, shouldn't you be including those
files from $(top_srcdir), not $(top_builddir)? and you'd need to
include Makefile.in from the libbb source directory as well, no?
rday
More information about the busybox
mailing list