Dependencies run at the wrong time.

Bernhard Fischer rep.nop at aon.at
Mon Oct 31 21:49:27 UTC 2005


On Sun, Oct 30, 2005 at 08:59:29PM -0600, Rob Landley wrote:
>I have a .config file from the 18th or so, and since we've two applets to svn 
>(fuser and switch_root).

Hmz.. same for me for runlevel. Unfortunately, dep works if i rebuild
(i.e. issue a second make afterwards).

Does it help if you change the toplevel makefile to this?

endif # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)

# We included any make-internal rules as well as the .config, so
# pull in dependencies
-include $(top_builddir)/.depend
[you most likely don't have the following bits..]
# Which parts of the internal libs are requested?
# Per default we only want the stuff the user actually selected.
ifeq ($(CONFIG_FEATURE_FULL_LIBBUSYBOX),y)
LIBRARY_DEFINE:=$(LIBRARY_DEFINE-a)
$(LIBBUSYBOX_SONAME): $(LIBRARY_SRC-a)
else
LIBRARY_DEFINE:=$(LIBRARY_DEFINE-y)
$(LIBBUSYBOX_SONAME): $(LIBRARY_SRC-y)
endif

My local makefiles are unfortunately different enough by now that it
get's hard to provide a helpful context, i fear.. :/ the ^endif # should
be the last occurance in the toplevel makefile.

>When I build the new snapshot with the old .config file, it runs oldconfig and 
>stops and prompts me (at fuser, and at switch_root).  Then the compile 
>continues until it dies with:

>Anybody with makefile-fu want to move the dependency checking until _after_ 
>we've run oldconfig?

I take it you do not see this when not copying back your initial (old)
.config, do you? If so, please push a cp of your .config to me in bzip2
--best privately and i may take a short look at it somewhere down the
road..



More information about the busybox mailing list